Example #1
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            m_PowerBall = reader.ReadItem() as PowerBall;

            if (m_PowerBall != null)
            {
                m_PowerBall.AddToSatList(this);
            }
        }
Example #2
0
        public PowerBallSatellite() : base(0xED4)
        {
            Hue = 592;

            Name    = "Let's Play Powerball!";
            Movable = false;

            if (PowerBall.PowerBallInstance != null)
            {
                m_PowerBall = PowerBall.PowerBallInstance;
                m_PowerBall.AddToSatList(this);
            }
            else
            {
                Delete();
            }
        }