コード例 #1
0
 private void RefreshNodeMap(bool resetTime = false)
 {
     NodeMap.ScanFields(Level, Level.GetTilePositionFromWorld(Figure.Position));
     if (resetTime)
     {
         _refreshTimeElapsed = 0;
     }
     else
     {
         _refreshTimeElapsed -= RefreshNodeMapTime;
     }
 }
コード例 #2
0
 public ComFigureController(LevelImp level)
 {
     Level   = level;
     NodeMap = new NodeMap();
     _tasks  = new Queue <ITask>();
 }
コード例 #3
0
 public void DebugDraw(ShapeRenderer shapeRenderer, Vector2 offset)
 {
     NodeMap.DebugDraw(shapeRenderer, Level, offset);
 }