Beispiel #1
0
        public SceneGame(Game game, SaveFile saveFile) : base(game)
        {
            SaveFile = saveFile;

            ActionQueue = new ActionQueue(this);
            Menu        = new PlayerUI(this);

            Load();

            Player = Entities.First(x => x is Hero);

            CameraMap   = Player.Map;
            CameraFocus = new CameraFocus(Player);

            Spawner = new EnemySpawner(this, 5);
        }
Beispiel #2
0
 public TurnTakerSpawner(ActionQueue queue, EnemySpawner spawner) : base(queue)
 {
     Spawner = spawner;
 }
Beispiel #3
0
 public BossData(EnemySpawner parent, SpawnDelegate spawn)
 {
     Parent = parent;
     Spawn  = spawn;
 }