/***********************************************
 * icfpc-2011
 * بِسْمِ اللهِ الرَّحْمنِ الرَّحِيمِِ
 * Time: 19.06.2011 18:55:25
 ***********************************************/
package ru.alphatech.icfpc.cards;

import ru.alphatech.icfpc.game.ICFPCException;
import ru.alphatech.icfpc.game.Run;


public abstract class AbstractCard implements ICard
{
	@Override
	public void incAndTest()
	{
		int callcount = Run.incCallCount();
		
		if(callcount > 1000)
		{
			throw new ICFPCException();
		}
	}
}
