private void checkForPlayer(Unit u)
    {
	int playerX = Model.getInstance().findUnitByID(LocalModel.getInstance().getMyPlayerID(), LocalModel.getInstance().getUnitTypeDeclaration()).getX();
	int playerY = Model.getInstance().findUnitByID(LocalModel.getInstance().getMyPlayerID(), LocalModel.getInstance().getUnitTypeDeclaration()).getY();
	
	if (u.getDirection().equals("U"))
	{
	    if (playerX < (u.getX() + 50) && playerX > (u.getX() - 50) && playerY < (u.getY() + 100) && playerY > (u.getY() - 500))
	    {
		u.setAware(true);
	    }
	}
	if (u.getDirection().equals("D"))
	{
	    if (playerX < (u.getX() + 50) && playerX > (u.getX() - 50) && playerY < (u.getY() + 500) && playerY > (u.getY() - 100))
	    {
		u.setAware(true);
		
	    }
	}
	if (u.getDirection().equals("L"))
	{
	    if (playerX < (u.getX() + 100) && playerX > (u.getX() - 500) && playerY < (u.getY() + 50) && playerY > (u.getY() - 50))
	    {
		u.setAware(true);
	    }
	}
	if (u.getDirection().equals("R"))
	{
	    if (playerX < (u.getX() + 500) && playerX > (u.getX() - 100) && playerY < (u.getY() + 50) && playerY > (u.getY() - 50))
	    {
		u.setAware(true);
	    }
	}
    }