Exemple #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);
        }
Exemple #2
0
 public TurnTakerSpawner(ActionQueue queue, EnemySpawner spawner) : base(queue)
 {
     Spawner = spawner;
 }
Exemple #3
0
 public BossData(EnemySpawner parent, SpawnDelegate spawn)
 {
     Parent = parent;
     Spawn  = spawn;
 }