Esempio n. 1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Main game = new Main())
     {
         game.Run();
     }
 }
Esempio n. 2
0
File: Map.cs Progetto: Czahyl/MOBA
        public Map(Main main)
        {
            m = main;

            for (int x = 0 - width / 2; x < width / 2; x += 64)
            {
                for (int y = 0; y < height; y += 64)
                {
                    if (x == 512 && y == 256)
                    {
                        worldObjects.Add(new Bush(new Vector2(x, y)));
                    }
                }
            }
        }