Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            FightRules rule = (FightRules)obj;

            return(this.ForceAttackCoefficient == rule.ForceAttackCoefficient &&
                   this.MindAttackCoefficient == rule.MindAttackCoefficient);
        }
Exemplo n.º 2
0
 public Job(FightRules fightRule, string jobPosition, int jobLevel)
     : base(jobPosition)
 {
     this.JobLevel = jobLevel;
     this.JobFightRules = fightRule;
     this.Possition = jobPosition;
     this.Wage = this.JobLevel * new Random().Next(LowestBaseWage, HighestBaseWage + 1);
 }
Exemplo n.º 3
0
 public Job(FightRules fightRule, string jobPosition, int jobLevel)
     : base(jobPosition)
 {
     this.JobLevel      = jobLevel;
     this.JobFightRules = fightRule;
     this.Possition     = jobPosition;
     this.Wage          = this.JobLevel * new Random().Next(LowestBaseWage, HighestBaseWage + 1);
 }