public IAction<Integer> createAction(Integer actionId, IRobot<Integer> robot) {
		Class<? extends IAction<Integer>> actionClz = actionPool.get(actionId);
		IAction<Integer> a = null;
		try {
			a = actionClz.newInstance();
			a.init(robot);
		} catch (InstantiationException e) {
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		}
		return a;
	}