Ejemplo n.º 1
0
        public ShipInformation SwapTo()
        {
            ShipInformation sm = this.ShallowClone();

            sm.ClearStorage();    // just in case
            return(sm);
        }
Ejemplo n.º 2
0
        public ShipInformation SellShip()
        {
            ShipInformation sm = this.ShallowClone();

            sm.Sold = true;
            sm.ClearStorage();
            return(sm);
        }
        public ShipInformation Destroyed()
        {
            ShipInformation sm = this.ShallowClone();

            sm.State      = ShipState.Destroyed;
            sm.SubVehicle = SubVehicleType.None;
            sm.ClearStorage();
            return(sm);
        }
        public ShipInformation SellShip()
        {
            ShipInformation sm = this.ShallowClone();

            sm.State      = ShipState.Sold;
            sm.SubVehicle = SubVehicleType.None;
            sm.ClearStorage();
            return(sm);
        }