public ScreenGenerationTester(ScreenManager screenManager) : base(screenManager) { _camera = new Camera2D(screenManager.Graphics.GraphicsDevice) { FollowingHero = true }; _ecs = new ECS(_camera); _ecs.StartupRoutine(ecsBootRoutine.Presenting); _debugDrawer = new DebugDrawer(_ecs); _levelGenerator.ApplyPreset(LevelPreset.Forest); }
public InputAttackSubsystem(ECS ecs) { _ecs = ecs; }
public static void RegisterECS(ECS ecs) { _ecs = ecs; }
public InputSystem(ECS ecs, Camera2D camera) { _ecs = ecs; _camera = camera; _attackSubsystem = new InputAttackSubsystem(ecs); }
public StateSystem(ECS ecs) { _ecs = ecs; }
public DebugDrawer(ECS ecs) { Ecs = ecs; RegisterSystems(); }