예제 #1
0
 public MultiMazeRunner(L2Maze maze, uint positionsPattern, uint keys, int moveCount)
 {
     _maze            = maze;
     PositionsPattern = positionsPattern;
     Keys             = keys;
     MoveCount        = moveCount;
 }
예제 #2
0
 public MazeRunner(L2Maze maze, int position, uint keys, int moveCount = 0)
 {
     _maze     = maze;
     _keys     = keys;
     Position  = position;
     MoveCount = moveCount;
 }
예제 #3
0
 public MultiMazeRunner(L2Maze maze, int[] positions, uint keys)
 {
     _maze            = maze;
     PositionsPattern =
         (uint)positions[0] |
         (uint)positions[1] << BitsPerAgent |
             (uint)positions[2] << (BitsPerAgent * 2) |
             (uint)positions[3] << (BitsPerAgent * 3);
     Keys      = keys;
     MoveCount = 0;
 }