rsi/enemies/basic.lua

9 lines
178 B
Lua

enemyBasic=enemy:extend()
function enemyBasic:new(x,y)
sounds=group("audio/enemies/1")
sounds.loop:setLooping(true)
enemyBasic.super.new(self,x,y,sounds)
sounds.loop:play()
end