19 Weapon (Game
* g
,lua_State
* l
) {game
= g
; lstate
= l
;}
23 void setSprite(Polygon asprite
) { sprite
= asprite
;}
24 void setLeftHand(Ponto hand
) {leftHand
= hand
;}
25 void setRightHand(Ponto hand
) {rightHand
= hand
;}
26 Ponto
getLeftHand() {return leftHand
;}
27 Ponto
getRightHand(){return rightHand
;}
29 void setTip(Ponto t
) {tip
= t
;}
30 Ponto
getTip() {return tip
;}
31 void fire(Ponto place
, double angle
);