- cacodemon can start flipped
This commit is contained in:
4
caco.lua
4
caco.lua
@@ -1,7 +1,7 @@
|
||||
caco={}
|
||||
|
||||
function caco.new(_hab,_x,_y)
|
||||
return {hab=_hab,x=_x,y=_y,flip=false,frame=0,wait=0,step=0,hit=caco.hit,update=caco.update_normal,draw=caco.draw,jumpfwd=false,anim={19,19,20,21},bb={x=2,y=0,w=12,h=16}}
|
||||
function caco.new(_hab,_x,_y,_flip)
|
||||
return {hab=_hab,x=_x,y=_y,flip=_flip,frame=0,wait=0,step=0,hit=caco.hit,update=caco.update_normal,draw=caco.draw,jumpfwd=false,anim={19,19,20,21},bb={x=2,y=0,w=12,h=16}}
|
||||
end
|
||||
|
||||
function caco:draw()
|
||||
|
||||
Reference in New Issue
Block a user