public override void Load(ISnapshot save) { base.Load(save); Target = (uint)save.GetInt("Target"); TargetTypes = (UnitTypes)save.GetInt("TargetTypes"); Range = save.GetInt("Range"); }
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"); }
public override void Load(ISnapshot save) { base.Load(save); Speed = save.GetInt("Speed"); }
public override void Load(ISnapshot save) { base.Load(save); Health = save.GetInt("Health"); }