public override void Initialize() { _applets = new List<Applet.Applet>(); _applets.Add(Player.GetInstance()); _applets.Add(Battle.GetInstance()); _applets.Add(Dialogue.GetInstance()); _applets.Add(Applet.Shop.GetInstance()); _applets.Add(MonsterBook.GetInstance()); _tower = Tower.Tower.GetInstance(); _audioPlayer = AudioPlayer.GetInstance(); for (int i = 0; i < _applets.Count; i++) _applets[i].Initialize(); _tower.Initialize(); _audioPlayer.Play(AudioPlayer.BackgroundMusic.Exploration); }
public override void Initialize() { _dialogue = Dialogue.GetInstance(); _aduioPlayer = AudioPlayer.GetInstance(); }
public override void Initialize() { _finalFace = Face.Down; _hp = 1000; _atk = 100; _atkTime = 1; _def = 100; _gold = 0; _exp = 0; _keys = new int[] { 55, 55, 0 }; _currentFloor = 3; _battleFrame = 0; _currentFrame = 0; _active = true; _position = new Point(6, 11); _tower = Tower.Tower.GetInstance(); _dialogue = Dialogue.GetInstance(); _audioPlayer = AudioPlayer.GetInstance(); }