@Override
	public boolean isLegal(Model model) {
		if(model instanceof HyeneModel){
			HyeneModel hmod = (HyeneModel) model;
			HyenePlayer p = (HyenePlayer) hmod.m_current_player;
			int PlayerPosition = -1;
			int k = -1;
			while(PlayerPosition == -1){
				k++;
				PlayerPosition = hmod.findElement(k,p.token);
			}
			if(PlayerPosition+x < 0 || PlayerPosition+x >= hmod.getSize()) return false;
			else return true;
		}
		return false;
	}