23 lines
376 B
C#
23 lines
376 B
C#
|
namespace Elite
|
||
|
{
|
||
|
public class Component
|
||
|
{
|
||
|
public Entity Entity;
|
||
|
}
|
||
|
|
||
|
public interface IUpdateable
|
||
|
{
|
||
|
void Update();
|
||
|
}
|
||
|
|
||
|
public interface
|
||
|
|
||
|
public class Entity
|
||
|
{
|
||
|
private static uint _nextId;
|
||
|
|
||
|
public string Name;
|
||
|
public readonly int Id;
|
||
|
private readonly FastList<Component
|
||
|
}
|
||
|
}
|