@Override
	public EObject create(EClass eClass) {
		switch (eClass.getClassifierID()) {
			case actionPackage.ATACK: return createAtack();
			case actionPackage.SET_TROOPS: return createSetTroops();
			case actionPackage.COIN_CARDS: return createCoinCards();
			case actionPackage.MOVE_TROOPS: return createMoveTroops();
			case actionPackage.ADD_PLAYER: return createAddPlayer();
			case actionPackage.START_GAME: return createStartGame();
			case actionPackage.REMOVE_PLAYER: return createRemovePlayer();
			case actionPackage.DRAW_CARD: return createDrawCard();
			default:
				throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
		}
	}