public void Update(GameFightMonsterInformations msg)
 {
     if (msg == null) throw new ArgumentNullException("msg");
     //Id = msg.contextualId;
     //Look = msg.look;
     //Update(msg.disposition);
     //IsAlive = msg.alive;
     MonsterTemplate = ObjectDataManager.Instance.Get<Monster>(msg.creatureGenericId);
     MonsterGrade = MonsterTemplate.grades[msg.creatureGrade - 1];
 }
 public void Update(GameFightMonsterInformations msg)
 {
     if (msg == null) throw new ArgumentNullException("msg");
     Id = msg.contextualId;
     Look = msg.look;
     Position.Update(msg.disposition);
     IsAlive = msg.alive;
     MonsterTemplate = DataProvider.Instance.Get<Monster>(msg.creatureGenericId);
     MonsterGrade = MonsterTemplate.grades[msg.creatureGrade];
 }
 public MonsterFighter(GameFightMonsterInformations msg, Map map, Fight fight)
 {
     Id = msg.contextualId;
     Fight = fight;
     Look = msg.look;
     Position = new ObjectPosition(map, msg.disposition);
     Team = fight.GetTeam((FightTeamColor) msg.teamId);
     IsAlive = msg.alive;
     MonsterTemplate = DataProvider.Instance.Get<Monster>(msg.creatureGenericId);
     MonsterGrade = MonsterTemplate.grades[msg.creatureGrade];
 }
 public MonsterFighter(GameFightMonsterInformations msg, Fight fight)
 {
     Id = msg.contextualId;
     Fight = fight;
     Look = msg.look;
     Map = fight.Map;
     Update(msg.disposition);
     Team = fight.GetTeam((FightTeamColor) msg.teamId);
     IsAlive = msg.alive;
     MonsterTemplate = DataProvider.Instance.Get<Monster>(msg.creatureGenericId);
     MonsterGrade = MonsterTemplate.grades[msg.creatureGrade - 1];
     Stats = new MinimalStats(msg.stats);
 }
 public SummonedFighter(GameFightMonsterInformations msg, Map map, Fight fight)
     : base(msg, map, fight)
 {
 }
 public MonsterFighter(GameFightMonsterInformations msg, Fight fight) : base (msg, fight)
 {
     MonsterTemplate = ObjectDataManager.Instance.Get<Monster>(msg.creatureGenericId);
     MonsterGrade = MonsterTemplate.grades[msg.creatureGrade - 1];
     Level = (int) MonsterGrade.level;        
 }