/*****************************************************************************

File: Vector2i.h
Desc: A 2 dimensional integer vector
		
Date: 2005/01/01

Author: Wim Lemkens

*****************************************************************************/

#ifndef _VECTOR2I_H_
#define _VECTOR2I_H_

namespace Ogre {

class Vector2i{
public:
	/**
	 * The default constructor
	 * @post	this->x == 0
	 * @post	this->y == 0
	 */
	Vector2i(){
		x=0;
		y=0;
	}

	/**
	 * A constructor
	 * @param	int x
	 * 			The x-value to initialise the vector to
	 * @param	int y
	 * 			The y-value to initialise the vector to
	 * @post	this->x == <x>
	 * @post	this->y == <y>
	 */
	Vector2i(int x, int y){
		this->x = x;
		this->y = y;
	}
	
	///	The coordinates of the vector
	int x,y;

};

} // namespace Ogre
#endif //_VECTOR2I_H_
