ludum_dare_39/src/com/gnarly/game/commands/Rotate.java
2024-08-07 04:31:23 +00:00

23 lines
307 B
Java

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;
}
}