Esempio n. 1
0
 public ExpressConveyorBelt(Board board, Tile baseTile, TileDirection direction, TurnDirection turn, int x,
     int y)
     : base(board, baseTile, x, y)
 {
     Direction = direction;
     Turn = turn;
 }
Esempio n. 2
0
 public Pusher(Board board, Tile baseTile, TileDirection direction, bool[] activeTurns, int x, int y)
     : base(board, baseTile, x, y)
 {
     if (activeTurns.Length == 5)
     {
         Direction = direction;
         ActiveTurns = activeTurns;
     }
     else
     {
         throw new Exception("Pusher initialization error; Length of ActiveTurns does not equal 5");
     }
 }
Esempio n. 3
0
 public Laser(Board board, Tile baseTile, int number, int x, int y)
     : base(board, baseTile, x, y)
 {
     Number = number;
 }
Esempio n. 4
0
 public Repair(Board board, Tile baseTile, int x, int y)
     : base(board, baseTile, x, y)
 {
 }
Esempio n. 5
0
 public Wall(Board board, Tile baseTile, TileDirection direction, int x, int y)
     : base(board, baseTile, x, y)
 {
     Direction = direction;
 }
Esempio n. 6
0
 public SpawnPoint(Board board, Tile baseTile, int number, int x, int y)
     : base(board, baseTile, x, y)
 {
     Number = number;
 }
Esempio n. 7
0
 public Gear(Board board, Tile baseTile, TurnDirection direction, int x, int y)
     : base(board, baseTile, x, y)
 {
     Turn = direction;
 }
Esempio n. 8
0
 protected TileDecorator(Board board, Tile baseTile, int x, int y)
     : base(board, x, y)
 {
     BaseTile = baseTile;
 }