Пример #1
0
        public cImageEntity(cImageEntityData aData, int alX, int alY, float afZ) : base(alX, alY, afZ)
        {
            mEntityData = aData;

            if (mEntityData.mfStretchH < 0 || mEntityData.mfStretchW < 0)
            {
                mfHeight = mEntityData.mImage.Height;
                mfWidth  = mEntityData.mImage.Width;
            }
            else
            {
                mfHeight = mEntityData.mfStretchH;
                mfWidth  = mEntityData.mfStretchW;
            }
        }
Пример #2
0
		public cImageEntity(cImageEntityData aData,int alX,int alY, float afZ) : base(alX,alY,afZ)
		{
			mEntityData = aData;
			
			if(mEntityData.mfStretchH<0 || mEntityData.mfStretchW<0)
			{
				mfHeight = mEntityData.mImage.Height;
				mfWidth = mEntityData.mImage.Width;
			}
			else
			{
				mfHeight = mEntityData.mfStretchH;
				mfWidth = mEntityData.mfStretchW;
			}
		}
Пример #3
0
 public cProp(cImageEntityData aData, int alX, int alY, float afZ) : base(aData, alX, alY, afZ)
 {
 }
Пример #4
0
		public cProp(cImageEntityData aData,int alX,int alY, float afZ) : base(aData,alX, alY, afZ)
		{

		}