private void updateBehaviors() {
		behavior.clear();
		boolean anyEnabled = false;
		for(int i = 0; i < enabledBehaviors.size(); i++) { //if there are no behaviors left, reset velocity
			if(enabledBehaviors.get(i)) {
				anyEnabled = true;
				break;
			}
		}
		if(!anyEnabled) {
			this.velocity = new Vector2(0, 0);
		}
		
		for(int i = 0; i < enabledBehaviors.size(); i++) {
			if(enabledBehaviors.get(i)) {
				behavior.addBehavior(availableBehaviors.get(i));
			}
		}
	}