Exemplo n.º 1
0
 //#----------------------------------------------------------
 //# * Initialize
 //#----------------------------------------------------------
 public Game_Unit(Data_Unit unit, bool playerOwned = true, bool isVeteran = false)
 {
     Unit = unit;
     _isVeteran = isVeteran;
     IsPlayerOwned = playerOwned;
     _hp = MaxHP;
 }
Exemplo n.º 2
0
 //#----------------------------------------------------------
 //# * Initialize
 //#----------------------------------------------------------
 public Game_BattleUnit(Data_Unit unit, Game_Group group, bool playerOwned, bool isVeteran = false)
     : base(unit, playerOwned, isVeteran)
 {
     _color = group.Color;
 }