예제 #1
0
        public static void Initialize()
        {
            ExperienceBar          = new EngineExperienceBar(519, 36);
            ExperienceBar.Position = new Point(245, 639);

            WindowShortCut.Initialize();
            WindowCharacterStatus.Initialize();
            WindowOption.Initialize();
            //WindowGuild.Initialize();
        }
예제 #2
0
        public static void Draw()
        {
            ExperienceBar.Percentage = Convert.ToInt32(((double)Client.PlayerLocal.Exp / (double)ExperienceManager.Experience[Client.PlayerLocal.Level + 1]) * 100);
            ExperienceBar.Draw(Client.PlayerLocal.Exp + "/" + ExperienceManager.Experience[Client.PlayerLocal.Level]);
            ExperienceBar.Draw();

            Client.PlayerLocal.Character.Draw();

            foreach (var character in Client.Player)
            {
                character.Draw();
            }

            WindowOption.Draw();

            WindowShortCut.Draw();
            ////  ShortCut.Draw(285, 521);
            //     ShortCut.Draw(285, 560);
            //    ShortCut.Draw(285, 600);

            WindowCharacterStatus.Draw();
        }