Beispiel #1
0
        public void OnOptionSelected(Mobile from, int choice)
        {
            m_ArcheryButteType = (ArcheryButteType)choice;

            if (!Deleted)
            {
                base.OnDoubleClick(from);
            }
        }
Beispiel #2
0
        public ArcheryButteAddon(ArcheryButteType type)
        {
            //AddComponent( new ArcheryButte( 0x100A ), 0, 0, 0 );
            m_ArcheryButteType = type;

            switch (type)
            {
            case ArcheryButteType.South:
                AddComponent(new ArcheryButte(0x100B), 0, 0, 0);
                break;

            case ArcheryButteType.East:
                AddComponent(new ArcheryButte(0x100A), 0, 0, 0);
                break;
            }
        }