ludum_dare_39/src/com/gnarly/game/commands/Rotate.java

24 lines
307 B
Java
Raw Normal View History

2019-03-10 22:34:10 -07:00
package com.gnarly.game.commands;
public class Rotate implements Command {
private int x, y;
public Rotate(int x, int y) {
this.x = x;
this.y = y;
}
public int getX() {
return x;
}
public int getY() {
return y;
}
public String getCommand() {
return "ROTATE " + x + " " + y;
}
}