@SuppressWarnings("unchecked")
	public <T> T getParameter(GameEventParameter param) {
		if (parameters.containsKey(param)) {
			//TODO not sure how exactly the generic T works here; need to investigate why this code works
			return (T) param.getClassType().cast(parameters.get(param));
		}
		return null;
	}