bring stuff
This commit is contained in:
21
data/scripts/triggers/trigger_use_area.lua
Normal file
21
data/scripts/triggers/trigger_use_area.lua
Normal file
@@ -0,0 +1,21 @@
|
||||
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
|
||||
Reference in New Issue
Block a user