Example #1
0
        /// <summary>
        /// Initializes this instance.
        /// </summary>
        internal static void Initialize()
        {
            while (true)
            {
                Console.Write("[*] > ");

                string Input = Console.ReadLine();

                if (!string.IsNullOrEmpty(Input))
                {
                    string[] Args = Input.Trim().Split(' ');

                    if (Args[0] == "clear")
                    {
                        Console.Clear();
                    }
                    else if (Args[0] == "exit")
                    {
                        ExitHandler.Run(Args);
                    }
                    else if (Args[0] == "player")
                    {
                        PlayerHandler.Handle(Args);
                    }
                    else if (Args[0] == "clan")
                    {
                        ClanHandler.Handle(Args);
                    }
                    else if (Args[0] == "stats")
                    {
                        StatsHandler.Handle(Args);
                    }
                    else if (Args[0] == "sound")
                    {
                        SoundHandler.Handle(Args);
                    }
                }
            }
        }