First one is when you replace `update` function. N...
# gamedev
o
First one is when you replace
update
function. Normally update function is like this:
Copy code
fun update(dt: Float) {
…
}
and engine calls it with time passed value so you can update physics, etc. In this (normal) case you have to keep state machine manually in the actor’s instance.