17 lines
321 B
Lua
17 lines
321 B
Lua
-- базовый класс актора
|
|
actor_base = inherit_table(game_object)
|
|
|
|
-- инициализация FSM
|
|
|
|
function actor_base:on_init()
|
|
game_object.on_init(self)
|
|
end
|
|
|
|
function actor_base:on_shutdown()
|
|
game_object.on_shutdown(self)
|
|
end
|
|
|
|
function actor_base:on_update(dt)
|
|
game_object.on_update(self, dt)
|
|
end
|