la ca marche ?
This commit is contained in:
parent
767d23c0d6
commit
04a6c0a869
|
@ -45,7 +45,7 @@ public class Bow extends Actor {
|
|||
} else if (pressed && power > 50) {
|
||||
pressed = false;
|
||||
GameScreen.playerCurrent.setActive(false);
|
||||
Arrow arrowShot = new Arrow(angle, power, GameScreen.playerCurrent, false);
|
||||
Arrow arrowShot = new Arrow(angle, power, GameScreen.playerCurrent);
|
||||
GameScreen.setFocus(arrowShot); // do not use constructor 2 times
|
||||
GameScreen.arrows.addActor(arrowShot);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue