mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-04 11:35:06 +03:00
27 lines
390 B
Plaintext
27 lines
390 B
Plaintext
import "Scripts/Engine" for Engine
|
|
import "Scripts/ScriptableEntity" for ScriptableEntity
|
|
|
|
|
|
class TestScript is ScriptableEntity {
|
|
construct new() {
|
|
_deltaTime = 0
|
|
}
|
|
|
|
init() {
|
|
Engine.Log("Hello init")
|
|
}
|
|
|
|
update(ts) {
|
|
_deltaTime = _deltaTime + ts
|
|
|
|
|
|
}
|
|
|
|
fixedUpdate(ts) {
|
|
|
|
}
|
|
|
|
exit() {
|
|
Engine.Log("Hello exit")
|
|
}
|
|
} |