public void decide(Ship ship)	// decide on a target to attack
	{
		switch(state)
		{
			case ATTACK:
				if(attTarget.getShips().size() < 1)	// if target to attack doesn't actually exist anymore
				{
					state = ROAM;
					break;
				}
				for(Ship s : owner.getShips())
					s.getTactics().setTarget(nearestInTeam(s, attTarget));
				break;
			case ROAM:
				for(Ship s : owner.getShips())
					s.getTactics().setTarget(nearest(s));
			case DEFEND:
				break;
		}
	}