Beispiel #1
0
    public void OnGameEvent(GameEvent gameEvent)
    {
        // Notify the game about the game event we just heard about
        _gameWorldController.OnGameEventPosted(gameEvent);

        //TODO: Not sure if I wan't to post this to chat or not
        // I think I actually only want to do this for events received via the WebService

        // Display a human readable version of the event to the chat window
        _chatWindowView.AppendChatText(gameEvent.ToChatString(_gameWorldController));
    }