Skip to content

Commit

Permalink
[o][修改引用]
Browse files Browse the repository at this point in the history
  • Loading branch information
fivecdx committed Mar 10, 2022
1 parent 42e1ed9 commit 0dc29c0
Show file tree
Hide file tree
Showing 33 changed files with 105 additions and 105 deletions.
4 changes: 2 additions & 2 deletions actions/Error.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package actions

import (
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/core"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/core"
)

type Error struct {
Expand Down
4 changes: 2 additions & 2 deletions actions/Failer.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package actions

import (
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/core"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/core"
)

type Failer struct {
Expand Down
6 changes: 3 additions & 3 deletions actions/Log.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package actions
import (
"fmt"

b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/config"
. "github.com/magicsea/behavior3go/core"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/config"
. "github.com/walkon/behavior3go/core"
)

type Log struct {
Expand Down
4 changes: 2 additions & 2 deletions actions/Runner.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package actions

import (
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/core"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/core"
)

type Runner struct {
Expand Down
4 changes: 2 additions & 2 deletions actions/Succeeder.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package actions

import (
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/core"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/core"
)

type Succeeder struct {
Expand Down
6 changes: 3 additions & 3 deletions actions/Wait.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package actions

import (
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/config"
. "github.com/magicsea/behavior3go/core"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/config"
. "github.com/walkon/behavior3go/core"
"time"
)

Expand Down
4 changes: 2 additions & 2 deletions composites/MemPriority.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package composites

import (
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/core"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/core"
)

type MemPriority struct {
Expand Down
4 changes: 2 additions & 2 deletions composites/MemSequence.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package composites

import (
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/core"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/core"
)

type MemSequence struct {
Expand Down
4 changes: 2 additions & 2 deletions composites/Priority.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package composites

import (
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/core"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/core"
)

type Priority struct {
Expand Down
6 changes: 3 additions & 3 deletions composites/Sequence.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package composites
import (
_ "fmt"

b3 "github.com/magicsea/behavior3go"
_ "github.com/magicsea/behavior3go/config"
. "github.com/magicsea/behavior3go/core"
b3 "github.com/walkon/behavior3go"
_ "github.com/walkon/behavior3go/config"
. "github.com/walkon/behavior3go/core"
)

type Sequence struct {
Expand Down
4 changes: 2 additions & 2 deletions core/Action.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package core

import (
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/config"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/config"
)

type IAction interface {
Expand Down
4 changes: 2 additions & 2 deletions core/BaseNode.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package core
import (
_ "fmt"

b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/config"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/config"
)

type IBaseWrapper interface {
Expand Down
4 changes: 2 additions & 2 deletions core/BaseNodeWorker.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
_ "fmt"

b3 "github.com/magicsea/behavior3go"
_ "github.com/magicsea/behavior3go/config"
b3 "github.com/walkon/behavior3go"
_ "github.com/walkon/behavior3go/config"
)

type IBaseWorker interface {
Expand Down
4 changes: 2 additions & 2 deletions core/BehaviorTree.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package core
import (
"fmt"

b3 "github.com/magicsea/behavior3go"
"github.com/magicsea/behavior3go/config"
b3 "github.com/walkon/behavior3go"
"github.com/walkon/behavior3go/config"
)

/**
Expand Down
4 changes: 2 additions & 2 deletions core/Composite.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package core
import (
"fmt"

b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/config"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/config"
)

type IComposite interface {
Expand Down
4 changes: 2 additions & 2 deletions core/Condition.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package core

import (
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/config"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/config"
)

type ICondition interface {
Expand Down
4 changes: 2 additions & 2 deletions core/Decorator.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package core

import (
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/config"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/config"
)

type IDecorator interface {
Expand Down
4 changes: 2 additions & 2 deletions core/SubTree.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package core

import (
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/config"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/config"
)

//子树,通过Name关联树ID查找
Expand Down
4 changes: 2 additions & 2 deletions decorators/Inverter.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package decorators

import (
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/core"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/core"
)

/**
Expand Down
6 changes: 3 additions & 3 deletions decorators/Limiter.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package decorators

import (
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/config"
. "github.com/magicsea/behavior3go/core"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/config"
. "github.com/walkon/behavior3go/core"
)

/**
Expand Down
6 changes: 3 additions & 3 deletions decorators/MaxTime.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package decorators
import (
"time"

b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/config"
. "github.com/magicsea/behavior3go/core"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/config"
. "github.com/walkon/behavior3go/core"
)

/**
Expand Down
6 changes: 3 additions & 3 deletions decorators/RepeatUnitilFailure.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package decorators

import (
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/config"
. "github.com/magicsea/behavior3go/core"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/config"
. "github.com/walkon/behavior3go/core"
)

/**
Expand Down
6 changes: 3 additions & 3 deletions decorators/RepeatUntilSuccess.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package decorators

import (
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/config"
. "github.com/magicsea/behavior3go/core"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/config"
. "github.com/walkon/behavior3go/core"
)

/**
Expand Down
6 changes: 3 additions & 3 deletions decorators/Repeater.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package decorators

import (

b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/config"
. "github.com/magicsea/behavior3go/core"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/config"
. "github.com/walkon/behavior3go/core"
)

/**
Expand Down
10 changes: 5 additions & 5 deletions examples/load_from_project/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ package main

import (
"fmt"
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/config"
. "github.com/magicsea/behavior3go/core"
. "github.com/magicsea/behavior3go/examples/share"
. "github.com/magicsea/behavior3go/loader"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/config"
. "github.com/walkon/behavior3go/core"
. "github.com/walkon/behavior3go/examples/share"
. "github.com/walkon/behavior3go/loader"
)

func main() {
Expand Down
10 changes: 5 additions & 5 deletions examples/load_from_rawproject/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ package main

import (
"fmt"
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/config"
. "github.com/magicsea/behavior3go/core"
. "github.com/magicsea/behavior3go/examples/share"
. "github.com/magicsea/behavior3go/loader"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/config"
. "github.com/walkon/behavior3go/core"
. "github.com/walkon/behavior3go/examples/share"
. "github.com/walkon/behavior3go/loader"
)

func main() {
Expand Down
10 changes: 5 additions & 5 deletions examples/load_from_tree/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ package main

import (
"fmt"
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/config"
. "github.com/magicsea/behavior3go/core"
. "github.com/magicsea/behavior3go/examples/share"
. "github.com/magicsea/behavior3go/loader"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/config"
. "github.com/walkon/behavior3go/core"
. "github.com/walkon/behavior3go/examples/share"
. "github.com/walkon/behavior3go/loader"
)

func main() {
Expand Down
10 changes: 5 additions & 5 deletions examples/memsubtree/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ package main

import (
"fmt"
b3 "github.com/magicsea/behavior3go"
. "github.com/magicsea/behavior3go/config"
. "github.com/magicsea/behavior3go/core"
. "github.com/magicsea/behavior3go/examples/share"
. "github.com/magicsea/behavior3go/loader"
b3 "github.com/walkon/behavior3go"
. "github.com/walkon/behavior3go/config"
. "github.com/walkon/behavior3go/core"
. "github.com/walkon/behavior3go/examples/share"
. "github.com/walkon/behavior3go/loader"
"sync"
"time"
)
Expand Down
12 changes: 6 additions & 6 deletions examples/share/share.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ package share

import (
"fmt"
b3 "github.com/magicsea/behavior3go"
//. "github.com/magicsea/behavior3go/actions"
//. "github.com/magicsea/behavior3go/composites"
. "github.com/magicsea/behavior3go/config"
. "github.com/magicsea/behavior3go/core"
//. "github.com/magicsea/behavior3go/decorators"
b3 "github.com/walkon/behavior3go"
//. "github.com/walkon/behavior3go/actions"
//. "github.com/walkon/behavior3go/composites"
. "github.com/walkon/behavior3go/config"
. "github.com/walkon/behavior3go/core"
//. "github.com/walkon/behavior3go/decorators"
)

//自定义action节点
Expand Down
12 changes: 6 additions & 6 deletions examples/share/value.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package share

import (
b3 "github.com/magicsea/behavior3go"
//. "github.com/magicsea/behavior3go/actions"
//. "github.com/magicsea/behavior3go/composites"
. "github.com/magicsea/behavior3go/config"
. "github.com/magicsea/behavior3go/core"
//. "github.com/magicsea/behavior3go/decorators"
b3 "github.com/walkon/behavior3go"
//. "github.com/walkon/behavior3go/actions"
//. "github.com/walkon/behavior3go/composites"
. "github.com/walkon/behavior3go/config"
. "github.com/walkon/behavior3go/core"
//. "github.com/walkon/behavior3go/decorators"
)

//自定义action节点
Expand Down
Loading

0 comments on commit 0dc29c0

Please sign in to comment.