/// <summary> /// Initializes a new instance of the <see cref="StaticObstacle"/> class. /// </summary> /// <param name="x">The initial x-position.</param> /// <param name="y">The initial y-position.</param> /// <param name="type">The type of the obstacle.</param> public StaticObstacle(uint x, uint y, StaticObstacleType type) : this(new GridPosition((int)x, (int)y), type) { }
/// <summary> /// Initializes a new instance of the <see cref="StaticObstacle"/> class. /// </summary> /// <param name="position">The initial position.</param> /// <param name="type">The type of the obstacle.</param> public StaticObstacle(GridPosition position, StaticObstacleType type) : base(position) { this.type = type; }