Пример #1
0
        public void Render(Engine.Mobs.IPlayer player)
        {
            //Store a reference for the GetCommand() method to use.
            connectedPlayer = player;

            //Output the game information
            player.SendMessage(director.Server.Game.Name);
            player.SendMessage(director.Server.Game.Description);

            //Output the server MOTD
            player.SendMessage(director.Server.MOTD);
            player.SendMessage(string.Empty); //blank line

            //Switch the the Login state for the player
            player.SwitchState(new ClientLoginState(director));
        }