Esempio n. 1
0
        protected NewBaseBoat(int ItemID, int maxhullDurability, int maxsailDurability, Point3D tillermanOffset, Point3D pPlankOffset, Point3D sPlankOffset, Point3D holdOffset)
            : base(ItemID, maxhullDurability, maxsailDurability)
        {

            m_TillerMan = new NewTillerMan(this, tillermanOffset);
            m_PPlank = new NewPlank(this, pPlankOffset, PlankSide.Port, 0);
            m_SPlank = new NewPlank(this, sPlankOffset, PlankSide.Starboard, 0);
            m_Hold = new NewHold(this, holdOffset);
        }
Esempio n. 2
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            m_TillerMan = reader.ReadItem() as NewTillerMan;
            m_PPlank = reader.ReadItem() as NewPlank;
            m_SPlank = reader.ReadItem() as NewPlank;
            m_Hold = reader.ReadItem() as NewHold;
        }
Esempio n. 3
0
 public CloseTimer(NewPlank plank)
     : base(TimeSpan.FromSeconds(5.0), TimeSpan.FromSeconds(5.0))
 {
     _plank   = plank;
     Priority = TimerPriority.OneSecond;
 }
Esempio n. 4
0
 public CloseTimer(NewPlank plank)
     : base(TimeSpan.FromSeconds(5.0), TimeSpan.FromSeconds(5.0))
 {
     m_Plank = plank;
     Priority = TimerPriority.OneSecond;
 }