/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Simulation sim = new Simulation()) { sim.Run(); } }
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; }