示例#1
0
 public InputSystem(ECS ecs, Camera2D camera)
 {
     _ecs             = ecs;
     _camera          = camera;
     _attackSubsystem = new InputAttackSubsystem(ecs);
 }
示例#2
0
 public DrawSystem(Camera2D camera)
 {
     _camera = camera;
 }
示例#3
0
        //enum for biome

        public ECS(Camera2D camera)
        {
            _camera = camera;
            ECS_CreateEntity.RegisterECS(this);
        }