Ejemplo n.º 1
0
    public void Run(Vector2Int origin, int sightLimit)
    {
        var levelPoint = new LevelPoint {
            X = (uint)origin.x, Y = (uint)origin.y
        };

        map.ClearVisibility();
        fovComputer.Compute(levelPoint, sightLimit);
    }