Skip to content

Instantly share code, notes, and snippets.

View MidnytRaccoon's full-sized avatar
💻
Project Manager

MidnytRaccoon MidnytRaccoon

💻
Project Manager
  • Somewhere in the Pacific
View GitHub Profile
using Raylib_cs;
using System.Drawing;
using System.Numerics;
public struct windowSize
{
public int width;
public int height;
}
class Program
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++)
{