This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Raylib_cs; | |
| using System.Drawing; | |
| using System.Numerics; | |
| public struct windowSize | |
| { | |
| public int width; | |
| public int height; | |
| } | |
| class Program |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections.Generic; | |
| List<Vector2> enemyPositions = new List<Vector2>(); | |
| // Add enemies | |
| enemyPositions.Add(new Vector2(100, 200)); | |
| enemyPositions.Add(new Vector2(300, 400)); | |
| // Move enemies | |
| for (int i = 0; i < enemyPositions.Count; i++) | |
| { |