diff --git a/cicaprojekt/Game.java b/cicaprojekt/Game.java index 49c66d8..0d037ea 100644 --- a/cicaprojekt/Game.java +++ b/cicaprojekt/Game.java @@ -55,11 +55,17 @@ public class Game { } public void boxONeill() { - + if(oneill.hasBox()) + oneill.boxDrop(); + else + oneill.boxLift(); } public void boxJaffa() { - + if(jaffa.hasBox()) + jaffa.boxDrop(); + else + jaffa.boxLift(); } public void updateDisplay() {