Added rotate to key options
This commit is contained in:
@ -67,6 +67,22 @@ public class Game {
|
||||
jaffa.move(direction);
|
||||
}
|
||||
|
||||
public void rotateOneillLeft() {
|
||||
oneill.rotateLeft();
|
||||
}
|
||||
|
||||
public void rotateOneillRight() {
|
||||
oneill.rotateRight();
|
||||
}
|
||||
|
||||
public void rotateJaffaLeft() {
|
||||
jaffa.rotateLeft();
|
||||
}
|
||||
|
||||
public void rotateJaffaRight() {
|
||||
jaffa.rotateRight();
|
||||
}
|
||||
|
||||
public void boxONeill() {
|
||||
if(oneill.hasBox())
|
||||
oneill.boxDrop();
|
||||
|
Reference in New Issue
Block a user