Exemplo n.º 1
0
 public MinotaurStatue( MinotaurStatueType type )
     : base()
 {
     switch ( type )
     {
         case MinotaurStatueType.AttackSouth:
             AddComponent( new AddonComponent( 0x306C ), 0, 0, 0 );
             AddComponent( new AddonComponent( 0x306D ), -1, 0, 0 );
             AddComponent( new AddonComponent( 0x306E ), 0, -1, 0 );
             break;
         case MinotaurStatueType.AttackEast:
             AddComponent( new AddonComponent( 0x3074 ), 0, 0, 0 );
             AddComponent( new AddonComponent( 0x3075 ), -1, 0, 0 );
             AddComponent( new AddonComponent( 0x3076 ), 0, -1, 0 );
             break;
         case MinotaurStatueType.DefendSouth:
             AddComponent( new AddonComponent( 0x3072 ), 0, 0, 0 );
             AddComponent( new AddonComponent( 0x3073 ), 0, -1, 0 );
             break;
         case MinotaurStatueType.DefendEast:
             AddComponent( new AddonComponent( 0x306F ), 0, 0, 0 );
             AddComponent( new AddonComponent( 0x3070 ), -1, 0, 0 );
             AddComponent( new AddonComponent( 0x3071 ), 0, -1, 0 );
             break;
     }
 }
Exemplo n.º 2
0
        public MinotaurStatue(MinotaurStatueType type)
            : base()
        {
            switch (type)
            {
            case MinotaurStatueType.AttackSouth:
                AddComponent(new AddonComponent(0x306C), 0, 0, 0);
                AddComponent(new AddonComponent(0x306D), -1, 0, 0);
                AddComponent(new AddonComponent(0x306E), 0, -1, 0);
                break;

            case MinotaurStatueType.AttackEast:
                AddComponent(new AddonComponent(0x3074), 0, 0, 0);
                AddComponent(new AddonComponent(0x3075), -1, 0, 0);
                AddComponent(new AddonComponent(0x3076), 0, -1, 0);
                break;

            case MinotaurStatueType.DefendSouth:
                AddComponent(new AddonComponent(0x3072), 0, 0, 0);
                AddComponent(new AddonComponent(0x3073), 0, -1, 0);
                break;

            case MinotaurStatueType.DefendEast:
                AddComponent(new AddonComponent(0x306F), 0, 0, 0);
                AddComponent(new AddonComponent(0x3070), -1, 0, 0);
                AddComponent(new AddonComponent(0x3071), 0, -1, 0);
                break;
            }
        }
Exemplo n.º 3
0
        public void OnOptionSelected(Mobile from, int option)
        {
            this.m_StatueType = (MinotaurStatueType)option;

            if (!this.Deleted)
            {
                base.OnDoubleClick(from);
            }
        }
Exemplo n.º 4
0
        public void OnOptionSelected( Mobile from, int option )
        {
            m_StatueType = (MinotaurStatueType) option;

            if ( !Deleted )
                base.OnDoubleClick( from );
        }