class MMRPGATMTerminal extends NetworkTerminal;

var int moneytime;
var int moneytime2;


function CloseScreen(String action)
{
	if (action == "MONEY")
	{
		ShowScreen(Class'Contender.MMRPGATMMoney');
	}

	else Super.CloseScreen("EXIT");
}

function Tick(float deltaTime)
{
	if(moneytime > 0)
	{
		moneytime += 1;

		if (moneytime > 20)
		{
			moneytime = 0;
			moneytime2 = 1;

			ShowScreen(Class'Contender.MMRPGATMMoney');
		}
	}
	if(moneytime2 > 0)
	{
		moneytime2 += 1;

		if(moneytime2 > 20)
		{
			moneytime2 = 0;

			ShowScreen(Class'Contender.MMRPGATMMoney');
		}
	}
	Super.Tick(deltaTime);
}

defaultproperties
{
	FirstScreen=Class'Contender.MMRPGATMIntro'
}
