Esempio n. 1
0
 public override void GetState(ObjectState info)
 {
     base.GetState(info);
     info.AddValue("Stage", Stage);
     info.AddValue("RollRate", RollRate);
     info.AddValue("Style", Style);
 }
Esempio n. 2
0
 public override void GetState(ObjectState info)
 {
     base.GetState(info);
     //info.AddValue("timeSinceLastShot", _timeSinceLastShot);
     info.AddValue("ShieldEnergy", ShieldEnergy);
     info.AddValue("Owner", Owner);
 }
Esempio n. 3
0
 public virtual void GetState(ObjectState info)
 {
     info.AddValue("EntityID", _entityID);
     info.AddValue("LocationX", Location.X);
     info.AddValue("LocationY", Location.Y);
     info.AddValue("Height", Height);
     info.AddValue("Width", Width);
     info.AddValue("Radius", Radius);
     info.AddValue("VelocityX", _velocity.X);
     info.AddValue("VelocityY", _velocity.Y);
     info.AddValue("Orientation", Orientation);
     info.AddValue("VisualState", (int)visualState);
     info.AddValue("Status", (int)Status);
     info.AddValue("Type", (int)Type);
     info.AddValue("Age", age);
 }
Esempio n. 4
0
 public override void GetState(ObjectState info)
 {
     base.GetState(info);
     info.AddValue("Owner", Owner);
 }
Esempio n. 5
0
 public override void GetState(ObjectState info)
 {
     base.GetState(info);
     info.AddValue("PlanetID", (int)PlanetID);
 }