예제 #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;
 }
예제 #2
0
파일: Pusher.cs 프로젝트: mvdlaar/AIRally
 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");
     }
 }
예제 #3
0
파일: Laser.cs 프로젝트: mvdlaar/AIRally
 public Laser(Board board, Tile baseTile, int number, int x, int y)
     : base(board, baseTile, x, y)
 {
     Number = number;
 }
예제 #4
0
파일: Repair.cs 프로젝트: mvdlaar/AIRally
 public Repair(Board board, Tile baseTile, int x, int y)
     : base(board, baseTile, x, y)
 {
 }
예제 #5
0
파일: Wall.cs 프로젝트: mvdlaar/AIRally
 public Wall(Board board, Tile baseTile, TileDirection direction, int x, int y)
     : base(board, baseTile, x, y)
 {
     Direction = direction;
 }
예제 #6
0
 public SpawnPoint(Board board, Tile baseTile, int number, int x, int y)
     : base(board, baseTile, x, y)
 {
     Number = number;
 }
예제 #7
0
파일: Gear.cs 프로젝트: mvdlaar/AIRally
 public Gear(Board board, Tile baseTile, TurnDirection direction, int x, int y)
     : base(board, baseTile, x, y)
 {
     Turn = direction;
 }
예제 #8
0
 protected TileDecorator(Board board, Tile baseTile, int x, int y)
     : base(board, x, y)
 {
     BaseTile = baseTile;
 }