Implemented box operations

This commit is contained in:
Bokros Bálint 2016-05-07 16:22:59 +02:00
parent f760ded0e4
commit d61b6af8ed
1 changed files with 8 additions and 2 deletions

View File

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