//为指定事件添加监听器(添加观察者) public void addGameEventListener(ENUM_GameEvent emGameEvent, IGameEventListener listener) { IGameEvent gameEvent = getGameEvent(emGameEvent); gameEvent.addListener(listener); listener.setGameEvent(gameEvent); }