renames
@@ -2,7 +2,7 @@ class ChaoBehaviour
2
2
{
3
3
constructor()
4
4
{
5
Chao.Instance.registerBehaviour(this);
5
6
6
}
7
7
8
8
startBehaviour()
@@ -10,9 +10,14 @@ class ChaoBehaviour
10
10
//override this to allow the Chao to start this behaviour
11
11
}
12
12
13
update(deltaTime)
14
{
15
16
}
17
13
18
endBehaviour()
14
19
{
15
20
//make sure to call this so the Chao knows it can queue up another thing.
16
Chao.Instance.behaviourCompleted();
21
Chao.Instance.endBehaviour();
17
22
}
18
23
}
@@ -2,7 +2,7 @@ class ChaoBehaviour2
{2
{3
constructor()3
constructor()4
{4
{5
Chao.Instance.registerBehaviour(this);5
6
}6
}7
7
8
startBehaviour()8
startBehaviour()@@ -10,9 +10,14 @@ class ChaoBehaviour10
//override this to allow the Chao to start this behaviour10
//override this to allow the Chao to start this behaviour11
}11
}12
12
13
update(deltaTime)14
{15
16
}17
13
endBehaviour()18
endBehaviour()14
{19
{15
//make sure to call this so the Chao knows it can queue up another thing.20
//make sure to call this so the Chao knows it can queue up another thing.16
Chao.Instance.behaviourCompleted();21
Chao.Instance.endBehaviour();17
}22
}18
}23
}