public void setState(int state, Team attTarget, Ship defTarget)
	{
		this.state = state;
		if(state == ATTACK)
			this.attTarget = attTarget;
		else if(state == DEFEND)
		{
			this.defTarget = defTarget;
			for(Ship s : owner.getShips())
				s.getTactics().setTarget(defTarget);
		}
	}