21 lines
421 B
Lua
21 lines
421 B
Lua
trigger_use_area = inherit_table(game_object)
|
|
|
|
function trigger_use_area:on_init()
|
|
game_object.on_init(self)
|
|
self:create_box_body(0.4, 0.4, 0.4, 0.0, 0.0, 0.0, true, false)
|
|
end
|
|
|
|
function trigger_use_area:on_shutdown()
|
|
game_object.on_shutdown(self)
|
|
end
|
|
|
|
function trigger_use_area:on_update(dt)
|
|
game_object.on_shutdown(self, dt)
|
|
end
|
|
|
|
function trigger_use_area:on_collide(other)
|
|
end
|
|
|
|
function trigger_use_area:use()
|
|
|
|
end |