Example #1
0
 public Character()
 {
     ID            = 1; name = "";  LVL = 1;
     sprite        = new Image();
     maxHealth     = 100; health = maxHealth;
     maxMana       = 50; mana = maxMana;
     skills        = new List <Skill>();
     statusEffects = new List <StatusEffect>();
     atributes     = new Atributes();
     inventory     = new Inventory();
     equipment     = new EquipmentSlots();
 }
Example #2
0
 public void HardCopy(Monster monster)
 {
     ID            = monster.GetID();
     name          = monster.GetName();
     description   = monster.GetDescription();
     sprite        = monster.GetSprite();
     LVL           = monster.GetLVL();
     health        = monster.GetHealth();
     maxHealth     = monster.GetMaxHealth();
     mana          = monster.GetMana();
     maxMana       = monster.GetMaxMana();
     atributes     = monster.GetAtributes();
     skills        = monster.GetSkills();
     statusEffects = monster.GetStatusEffects();
     ai            = monster.GetAI();
     origID        = monster.GetID();
 }
Example #3
0
 public void SetAtributes(Atributes atributes)
 {
     this.atributes = atributes;
 }