10 lines
221 B
Lua
10 lines
221 B
Lua
|
local Base = require "gamecore.modules.world.actors.actor2D"
|
||
|
local Coin = Base:extend()
|
||
|
|
||
|
function Coin:new(world, x, y)
|
||
|
Coin.super.new(self, world, "coin", x, y, 16, 16, false)
|
||
|
self:setSprite("coin")
|
||
|
end
|
||
|
|
||
|
return Coin
|