Example #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Simulation sim = new Simulation())
     {
         sim.Run();
     }
 }
Example #2
0
        private static int woundedHealthPercent = 15; //%age

        #endregion Fields

        #region Constructors

        public Simulation()
        {
            currentSimulation = this;
            parseShapes("Content/Shapes.txt");
            currentRoundTime = 0;
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";
            graphics.PreferredBackBufferWidth = 1024;
            graphics.PreferredBackBufferHeight = 768;
        }