static void Main(string[] args) { //TypeLayout.PrintLayout<OOP.Customer>(); //TypeLayout.PrintLayout<DOD.CustomerValue>(); OOP.Node root = new Node(3); root.AddChild(new Node(4)); OOP.Node right = new Node(5); right.AddChild(new Node(6)); root.AddChild(right); root.Process(); DOD.Tree tree = new Tree(root); tree.Process(); ECS.Manager manager = new Manager(); manager.RegisterSystem(new MoveSystem()); manager.RegisterSystem(new RenderingSystem()); ECS.Entity entity = manager.CreateEntity(); var startPosition = new PositionComponent() { X = 0.0, Y = 0.0 }; var initialMovement = new MovableComponent() { Direction = 0.0, Speed = 1.0 }; ComponentManager <PositionComponent> .Register(in entity, in startPosition); ComponentManager <MovableComponent> .Register(in entity, in initialMovement); manager.Update(); manager.Update(); }