Ejemplo n.º 1
0
        public CharacterFighter(Character player, Fight fight)
            : base(FighterType.CHARACTER, fight)
        {
            player.Fight = fight;
            player.Fighter = this;

            myCharacter = player;

            AP = Stats.GetStat(StatEnum.MaxPA).Total;
            MP = Stats.GetStat(StatEnum.MaxPM).Total;
        }
Ejemplo n.º 2
0
        public Fighter(FighterType type, Fight fight)
        {
            myType = type;
            myFight = fight;

            Buffs = new FighterBuff();
            SpellController = new FighterSpell();

            Left = false;
            FightReady = false;
            TurnReady = false;
        }
Ejemplo n.º 3
0
 public void RemoveFight(Fight fight)
 {
     lock (Fights)
         Fights.Remove(fight);
 }