Exemple #1
0
        public virtual void Deserialize(Atom.Storage.IDeserializationContext context)
        {
            context.ReadDefaultHeader(this.GetType());

            this.IsStatic = context.ReadBoolean();
            this.Density  = context.ReadSingle();
        }
        public override void Deserialize(Atom.Storage.IDeserializationContext context)
        {
            base.Deserialize(context);

            context.ReadDefaultHeader(this.GetType());
            this.Radius    = context.ReadSingle();
            this.EdgeCount = context.ReadInt32();
        }
 public void Deserialize(Atom.Storage.IDeserializationContext context)
 {
     context.ReadDefaultHeader(typeof(EntityDrawStrategy <TEntity>));
     color = context.ReadColor();
 }
Exemple #4
0
 public void Deserialize(Atom.Storage.IDeserializationContext context)
 {
     context.ReadDefaultHeader(this.GetType());
     this.FixtureDescription = context.ReadObject <IMultiPhysicsBodyDescription>();
 }
 public virtual void Deserialize(Atom.Storage.IDeserializationContext context)
 {
     throw new System.NotImplementedException("Deserialization is not implemented for type " + this.GetType());
 }
Exemple #6
0
 public virtual void Deserialize(Atom.Storage.IDeserializationContext context)
 {
     context.ReadDefaultHeader(this.GetType());
 }
Exemple #7
0
 public void Deserialize(Atom.Storage.IDeserializationContext context)
 {
     context.ReadDefaultHeader(this.GetType());
     this.lifePoints = this.maximumLifePoints = context.ReadInt32();
 }