BlueGit

blue-star speeltuin

Files

speeltuin / src / chaoBehaviour / base / chaoBehaviour.js

chaoBehaviour.js

autoformat all
timfa Tim · pushed by timfa · 4 years ago
53822765 History
chaoBehaviour.js 346 B Download Raw
1class ChaoBehaviour
2{
3 constructor ()
4 {
5
6 }
7
8 startBehaviour ()
9 {
10 //override this to allow the Chao to start this behaviour
11 }
12
13 update (deltaTime)
14 {
15
16 }
17
18 endBehaviour ()
19 {
20 //make sure to call this so the Chao knows it can queue up another thing.
21 Chao.Instance.endBehaviour();
22 }
23}