SNKRX/engine/map/solid.lua

20 lines
315 B
Lua
Raw Permalink Normal View History

2021-02-18 05:11:25 +01:00
Solid = Object:extend()
Solid:implement(GameObject)
Solid:implement(Physics)
function Solid:init(args)
self:init_game_object(args)
self:set_as_chain(true, self.vertices, 'static', 'solid')
end
function Solid:update(dt)
self:update_game_object(dt)
end
function Solid:draw()
self:draw_game_object()
end