public void takeDamage(int x, int y, int damage)
	{
		if(x > -1 && x < width && y > -1 && y < height && theMap[x][y].getHealth() > 0)
		{
			theMap[x][y].setHealth(damage);
			if(theMap[x][y].getHealth() <= 0)
			{
				theMap[x][y].setType(0);
			}
		}
	}