Ejemplo n.º 1
0
        public void AchivTest()
        {
            var           view     = new HuntTheWumpus.View(1024, 768);
            var           score    = new HuntTheWumpus.Scores(1024, 768);
            var           minigame = new HuntTheWumpus.MiniGame(1024, 768);
            List <string> ls       = new List <string>();

            ls.Add("step.png/STEP#IDONT know#opisanie##podlyanka#");
            minigame.InitializeMiniGame(2);
            minigame.GetAchievement(ls);
            score.getAchievement(ls);
            score.Draw(view.Graphics);
        }
Ejemplo n.º 2
0
        public void DrawTest()
        {
            var view = new HuntTheWumpus.View(1024, 768);

            view.Clear();
            view.Clear(System.Drawing.Color.Aqua);
            view.Created();
            view.Graphics.FillRectangle(Brushes.Aqua, 0, 0, 10, 10);
            view.DrawMainMenu();
            var map = new HuntTheWumpus.Map();

            view.DrawPickCave(map.graph, map.isActive, 0, 1, "112");
            view.MainForm.DrawAll();
        }