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