XCom.Type7Unit.DrawFast C# (CSharp) Method

DrawFast() public method

public DrawFast ( Surface target, int x, int y, int width, int height ) : void
target Surface
x int
y int
width int
height int
return void
		public override void DrawFast(Surface target,int x, int y,int width,int height)
		{
			double currentTime = DXTimer.GetCurrMillis();
			if(lastTime+refresh<currentTime)
			{
				curr=(curr+1)%images.NumFrames;
				lastTime=currentTime;
			}

			if(!dying)
				images.DrawFast(target,x,y,width,height,curr,(Direction)direction);
			//else 
			//	images.Death[dieFrame].DrawFast(target,x,y,width,height);
		}
#else