public MessageHandler(INetworkManager manager, IGameService game, IGUIService gui) { Manager = manager; Game = game; GUI = gui; manager.BindCommand("RANDOM_NUMBERS", ReceiveRandomNumbers); manager.BindCommand("RESPONSE", ReceiveResponse); manager.BindCommand("ACTIVATE", ReceiveActivated); manager.BindCommand("GAME_OVER", ReceiveScoreBoard); manager.BindCommand("COLOR", ReceivePlayerColor); manager.BindCommand("SHOW_SUBJECT_REGISTRATION_WINDOW", ReceiveSubjectRegistrationWindow); manager.BindCommand("SET_MONEY", ReceivePlayerMoney); manager.BindCommand("LEARN_SUBJECT", ReceiveLearnSubject); manager.BindCommand("WORK_OR_STUDY", ReceiveWorkOrStudy); manager.BindCommand("COURSE_REQUEST", ReceiveCourseRequest); manager.BindCommand("LOSING_KNOWLEDGE", ReceiveLosingKnowledge); manager.BindCommand("OFFERED_MARK", ReceiveOfferedMark); manager.BindCommand("MATEKING_CHOICE", ReceiveMatekingChoice); manager.BindCommand("OVERTIME_WORK", ReceiveOvertimeWork); manager.BindCommand("UNREGISTER_SUBJECT", ReceiveUnregisterSubject); }