Implemented box operations
This commit is contained in:
parent
f760ded0e4
commit
d61b6af8ed
@ -55,11 +55,17 @@ public class Game {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void boxONeill() {
|
public void boxONeill() {
|
||||||
|
if(oneill.hasBox())
|
||||||
|
oneill.boxDrop();
|
||||||
|
else
|
||||||
|
oneill.boxLift();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void boxJaffa() {
|
public void boxJaffa() {
|
||||||
|
if(jaffa.hasBox())
|
||||||
|
jaffa.boxDrop();
|
||||||
|
else
|
||||||
|
jaffa.boxLift();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void updateDisplay() {
|
public void updateDisplay() {
|
||||||
|
Loading…
Reference in New Issue
Block a user