private Color colorForChatType(int chatType) {
        switch (chatType) {
            case GLOBAL_TEXT:
                return globalTextColor;
            case SHOUT_TEXT:
                return shoutTextColor;
            case BUDDY_TEXT:
                return buddyTextColor;
            case PLAYER_INPUT:
                return playerInputColor;
            case PLAYER_NAME:
                return playerNameColor;
            case WHISPER_TEXT:
                return whisperTextColor;
            case OTHER_PLAYER_NAME:
                return otherPlayerNameColor;
        }
        return null;
    }