protected BaseSmoothMulti(int itemID) : base(itemID) { m_Facing = Direction.North; m_Moving = Direction.North; m_Speed = SpeedCode.Stop; m_ContainedObjects = new DynamicComponentList(); m_VirtualMount = new SmoothMultiMountItem(this); m_Instances.Add(this); }
protected BaseSmoothMulti(int itemID) : base(itemID) { _facing = Direction.North; _moving = Direction.North; _speed = SpeedCode.Stop; _containedObjects = new DynamicComponentList(); _virtualMount = new SmoothMultiMountItem(this); _instances.Add(this); }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); m_Facing = (Direction)reader.ReadByte(); m_VirtualMount = reader.ReadItem() as SmoothMultiMountItem; m_Moving = m_Facing; m_Speed = SpeedCode.Stop; m_ContainedObjects = new DynamicComponentList(reader); if (m_VirtualMount == null) { Delete(); } }