class Monster extends Entity {
public void move(int x, int y){
this.location.setX(this.location.getX() + x);
this.location.setY(this.location.getY() + y);
}
}
class Room {
public int width, height;
public Monster[] monsters;
public void setMonsters(Monster[] monsters){
this.monsters = monsters;
}
}