#ifndef CASE_H
#define CASE_H
/*
 *  Case.h
 *  TicTaeToe
 *
 *  Created by Lionel BUCHELE on 29/04/11.
 *  Copyright 2011 EFREI. All rights reserved.
 *
 */
class Case 
{
	private : 
	//0 for free, 1 for computer, 2 for player 2
	int available_case;
	int x;
	int y;
	
	public :
	Case();
	Case(int, int);	
	void init(int x , int y);
	int getAvailable_case();
	int getX();
	int getY();
	void setAvailable_case(int);
	friend bool  operator==( Case & ,  Case &);
	friend bool operator==(Case &, const int &);
};


#endif
