8 lines
177 B
Lua
8 lines
177 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
|