示例#1
0
 public MazeSolver(string i_IpAddress, int i_Port)
 {
     this.r_Socket           = new MazeSockets(i_IpAddress, i_Port);
     this.r_StartingPosition = fetchStartingPos(this.r_Socket.StartingString);
     //this.m_CurrentPosition = new Position(this.r_StartingPosition);
     InitMatrix();
 }
示例#2
0
 public MazeSolver(string i_IpAddress, int i_Port)
 {
     this.r_HitsProcessor = new HintsProcessor(k_MazeWidth, k_MazeHeight);
     this.r_HitsProcessor.PositionFoundEvenHandler += R_HitsProcessor_PositionFoundEvenHandler;
     this.r_Socket          = new MazeSockets(i_IpAddress, i_Port);
     this.m_CurrentPosition = new Position(this.r_Socket.StartingString);
     InitMatrix();
 }