Exemplo n.º 1
0
 public Monster(int attack, int defense, string nome, string descricao, attributtesMonster attributtes, typeMonster type, bool effect, starsMonster stars) : base(nome, descricao)
 {
     this.attack      = attack;
     this.defense     = defense;
     this.attributtes = attributtes;
     this.type        = type;
     this.effect      = effect;
     this.stars       = stars;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="name"></param>
 /// <param name="attack"></param>
 /// <param name="defense"></param>
 /// <param name="movement"></param>
 /// <param name="picture"></param>
 /// <param name="type"></param>
 /// <param name="position"></param>
 public Monster(string name, int attack,
                int defense, int movement, Image picture, typeMonster type, int position)
 {
     this.name     = name;
     this.attack   = attack;
     this.defense  = defense;
     this.movement = movement;
     this.picture  = picture;
     this.type     = type;
     this.position = position;
 }