Esempio n. 1
0
		public static int GetBaseID( SpikeTrapType type )
		{
			switch ( type )
			{
				case SpikeTrapType.WestWall: return 4360;
				case SpikeTrapType.NorthWall: return 4379;
				case SpikeTrapType.WestFloor: return 4506;
				case SpikeTrapType.NorthFloor: return 4512;
			}

			return 0;
		}
Esempio n. 2
0
		public static int GetExtendedOffset( SpikeTrapType type )
		{
			switch ( type )
			{
				case SpikeTrapType.WestWall: return 6;
				case SpikeTrapType.NorthWall: return 6;

				case SpikeTrapType.WestFloor: return 5;
				case SpikeTrapType.NorthFloor: return 5;
			}

			return 0;
		}
Esempio n. 3
0
        public static int GetExtendedOffset(SpikeTrapType type)
        {
            switch (type)
            {
            case SpikeTrapType.WestWall: return(6);

            case SpikeTrapType.NorthWall: return(6);

            case SpikeTrapType.WestFloor: return(5);

            case SpikeTrapType.NorthFloor: return(5);
            }

            return(0);
        }
Esempio n. 4
0
        public static int GetBaseID(SpikeTrapType type)
        {
            switch (type)
            {
            case SpikeTrapType.WestWall: return(4360);

            case SpikeTrapType.NorthWall: return(4379);

            case SpikeTrapType.WestFloor: return(4506);

            case SpikeTrapType.NorthFloor: return(4512);
            }

            return(0);
        }
Esempio n. 5
0
 public static int GetExtendedID(SpikeTrapType type)
 {
     return(GetBaseID(type) + GetExtendedOffset(type));
 }
Esempio n. 6
0
 public SpikeTrap(SpikeTrapType type) : base(GetBaseID(type))
 {
 }
Esempio n. 7
0
 public SpikeTrap(SpikeTrapType type)
     : base(GetBaseID(type))
 {
 }
Esempio n. 8
0
 public static int GetExtendedID(SpikeTrapType type)
 {
     return GetBaseID(type) + GetExtendedOffset(type);
 }
Esempio n. 9
0
 public SpikeTrap(SpikeTrapType type = SpikeTrapType.WestFloor) : base(GetBaseID(type))
 {
 }
Esempio n. 10
0
		public SpikeTrap( SpikeTrapType type ) : base( GetBaseID( type ) )
		{
            m_AnimHue = 0;
		}
Esempio n. 11
0
 public SpikeTrap(SpikeTrapType type) : base(GetBaseID(type))
 {
     m_AnimHue = 0;
 }