epervier-old/examples/test_scene2/actors/explosion.lua

9 lines
223 B
Lua
Raw Normal View History

2019-04-01 13:12:06 +02:00
local Parent = require "examples.test_scene2.actors.parent"
local Explosion = Parent:extend()
function Explosion:new(scene, x, y)
Explosion.super.new(self, scene, "explosion", x - 8, y - 8, 16, 16)
end
return Explosion