Exemplo n.º 1
0
		public static int GetBaseID( GasTrapType type )
		{
			switch ( type )
			{
				case GasTrapType.NorthWall: return 0x113C;
				case GasTrapType.WestWall: return 0x1147;
				case GasTrapType.Floor: return 0x11A8;
			}

			return 0;
		}
Exemplo n.º 2
0
        public static int GetBaseID(GasTrapType type)
        {
            switch (type)
            {
            case GasTrapType.NorthWall: return(0x113C);

            case GasTrapType.WestWall: return(0x1147);

            case GasTrapType.Floor: return(0x11A8);
            }

            return(0);
        }
Exemplo n.º 3
0
 public GasTrap(GasTrapType type, Poison poison)
     : base(GetBaseID(type))
 {
     m_Poison = poison;
 }
Exemplo n.º 4
0
 public GasTrap(GasTrapType type)
     : this(type, Poison.Lesser)
 {
 }
Exemplo n.º 5
0
		public GasTrap( GasTrapType type, Poison poison ) : base( GetBaseID( type ) )
		{
			m_Poison = poison;
		}
Exemplo n.º 6
0
		public GasTrap( GasTrapType type ) : this( type, Poison.Lesser )
		{
		}
Exemplo n.º 7
0
 public GasTrap(GasTrapType type) : this(type, Poison.Lesser)
 {
     m_AnimHue = 0;
 }
Exemplo n.º 8
0
		public GasTrap( GasTrapType type ) : this( type, Poison.Lesser )
		{
            m_AnimHue = 0;
		}
Exemplo n.º 9
0
 public GasTrap(GasTrapType type, Poison poison = null) : base(GetBaseID(type)) => Poison = poison;
Exemplo n.º 10
0
 public GasTrapArtifact(GasTrapType type)
     : this(type, Poison.Lesser)
 {
 }
Exemplo n.º 11
0
 public GasTrapArtifact(GasTrapType type)
     : this(type, Poison.Lesser)
 {
 }