rsi/enemies/basic.lua

8 lines
177 B
Lua
Raw Normal View History

2023-08-27 12:32:38 +00:00
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