public override General.Common.IEncodable Decode(General.Encoding.BinaryInput stream) { base.Decode(stream); this.MovementBehavior = stream.ReadObject<MovementBehavior>(); this.MovementBehavior.Entity = this; this.elapsed = stream.ReadSingle(); this.nextMovement = stream.ReadSingle(); return this; }