Ejemplo n.º 1
0
 public Door(DoorState state, TileLocation location, Rotation rotation, string connectedRoom, Player player)
     : base(rotation, location.Through(location.Plus(1, 1)))
 {
     ConnectedRoom = connectedRoom;
     _player       = player;
     _state        = state;
 }
Ejemplo n.º 2
0
 public WallCorner(Rotation rotation, TileLocation loc)
     : base(rotation, loc.Through(loc.Plus(1, 1, rotation)), true)
 {
 }
Ejemplo n.º 3
0
 public PitCorner(Rotation rotation, TileLocation loc, Player player)
     : base(rotation, loc.Through(loc.Plus(4, 4, rotation)))
 {
     _player = player;
 }