@Override
	/*public boolean TryInstantiate(int x, int y, int value) 
	{
		boolean success = true;
		cpController.solver.worldPush();

		try {
			cpController.InstantiateVar(x, y, value);
		} catch (ContradictionException e1) {
			// TODO Auto-generated catch block
			System.out.println("instantiation failed : " + e1.toString());
			success = false;
		}
		if (success) {
			try {
				cpController.Propagate();
			} catch (ContradictionException e) {
				// TODO Auto-generated catch block
				System.out.println("propagation failed : "
						+ e.getContradictionCause().toString());
				DomainWipeOut();
				success = false;
				cpController.solver.worldPop();
			}
		}
		if (success) {
			cells[x][y].current = value;
		}
		else
		{
			System.out.println("contradicted");
			cells[x][y].contradicting = true;
			cells[x][y].current = 0;
		}
		return success;
	}*/
	
	public void paint ( Graphics gr )
	{
		//initDraw(gr);
		switch(state)
		{
		case game:
			DrawGrid(gr);
			break;
		case conflictResolution:
			break;
		case initGame:
			break;
		case pregame:
			break;
		case start:
			break;
		default:
			break;
		}
	}