private void setState(String name) throws NullPointerException {
		if (possibleStates.containsKey(name)) {
			currentState = possibleStates.get(name);
		} else {
			throw new NullPointerException(Helpers.concat("Name ", name, " not found within states for the state manager ", getName()));
		}
	}