Beispiel #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;
            }
        }
Beispiel #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;
			}
		}
Beispiel #3
0
 public cProp(cImageEntityData aData, int alX, int alY, float afZ) : base(aData, alX, alY, afZ)
 {
 }
Beispiel #4
0
		public cProp(cImageEntityData aData,int alX,int alY, float afZ) : base(aData,alX, alY, afZ)
		{

		}