- cacodemon can start flipped

This commit is contained in:
2022-10-25 19:57:11 +02:00
parent b77d3cc8be
commit df21041f1b

View File

@@ -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()