private static Vector2[] CreateTextureCoordinates() { var bottomLeft = new Vector2(0, 1); var topLeft = new Vector2(0, 0); var bottomRight = new Vector2(1, 1); var topRight = new Vector2(1, 0); return new[] { bottomLeft, topLeft, bottomRight, topRight }; }
/// <summary> /// Initializes a new instance of the <see cref="FarmLocation" /> struct. /// </summary> /// <param name="position"> /// The position. /// </param> /// <param name="minionsHit"> /// The minions hit. /// </param> public FarmLocation(Vector2 position, int minionsHit) { this.Position = position; this.MinionsHit = minionsHit; }