public override void Serialize(ISerializationContext context) { context.WriteDefaultHeader(); context.Write(this.Position); context.Write(this.Rotation); context.WriteObject(this.Physics.FixtureDescription); context.WriteObject(this.DrawStrategy); }
public override void Serialize(ISerializationContext context) { context.WriteDefaultHeader(); context.Write(this.Position); context.Write(this.Rotation); context.WriteObject(this.DrawStrategy); this.Physics.Serialize(context); this.Destroyable.Serialize(context); }