Ejemplo n.º 1
0
        // ============================================================
        // Ctor, Dispose, Update, and CreateView()
        // ============================================================
        public Mobile(Serial serial, Map map)
            : base(serial, map)
        {
            Equipment = new MobileEquipment(this);
            m_movement = new MobileMovement(this);
            m_movement.RequiresUpdate = true;

            Health = new CurrentMaxValue();
            Stamina = new CurrentMaxValue();
            Mana = new CurrentMaxValue();
            Followers = new CurrentMaxValue();
            Weight = new CurrentMaxValue();
            Flags = new MobileFlags();
        }
Ejemplo n.º 2
0
        // ============================================================
        // Ctor, Dispose, Update, and CreateView()
        // ============================================================

        public Mobile(Serial serial, Map map)
            : base(serial, map)
        {
            Equipment  = new MobileEquipment(this);
            m_movement = new MobileMovement(this);
            m_movement.RequiresUpdate = true;

            Health    = new CurrentMaxValue();
            Stamina   = new CurrentMaxValue();
            Mana      = new CurrentMaxValue();
            Followers = new CurrentMaxValue();
            Weight    = new CurrentMaxValue();
            Flags     = new MobileFlags();
        }