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