Example #1
0
 public override void Load(ISnapshot save)
 {
     base.Load(save);
     Target      = (uint)save.GetInt("Target");
     TargetTypes = (UnitTypes)save.GetInt("TargetTypes");
     Range       = save.GetInt("Range");
 }
Example #2
0
 public override void Load(ISnapshot save)
 {
     base.Load(save);
     Name         = save.Get <string>("Name");
     PositionX    = save.GetInt("PositionX");
     PositionY    = save.GetInt("PositionY");
     PlayerNumber = save.GetInt("PlayerNumber");
     UnitType     = (UnitTypes)save.GetInt("UnitType");
 }
Example #3
0
 public override void Load(ISnapshot save)
 {
     base.Load(save);
     Speed = save.GetInt("Speed");
 }
Example #4
0
 public override void Load(ISnapshot save)
 {
     base.Load(save);
     Health = save.GetInt("Health");
 }