Add initial game code

This commit is contained in:
Aslan 2025-09-12 08:34:06 -04:00
parent f80a60e208
commit 1383997ebf
55 changed files with 1355 additions and 0 deletions

View file

@ -0,0 +1,22 @@
using System.Collections.Generic;
public partial class Nebula : GameObject
{
public List<GameObject> GameObjects { get; private set; }
public Nebula(string name, CoordinateVector position, CoordinateVector size, GameObject parent)
: base(name, position, size, parent)
{
this.GameObjects = new List<GameObject>();
}
public override void Simulate()
{
base.Simulate();
foreach (GameObject gameObject in this.GameObjects)
{
gameObject.Simulate();
}
}
}