public Case(Occupant occupant, int coordX, int coordY) { this.occupant = occupant; this.coordX = coordX; this.coordY = coordY; }
public Exit(Occupant occupant, int posX, int posY) : base(occupant, posX, posY) { }
public Wall(Occupant occupant, int posX, int posY) : base(occupant, posX, posY) { }