/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { GetSettingsFromInput(); Game = new Game1(); Game.Run(); }
/// <summary> /// Initializes the helper class. /// </summary> /// <param name="gameClass">The XNA class that owns this class.</param> public static void Initialize(Game1 gameClass) { game = gameClass; Rand = new Random(); TimeMultiplier = 1f; WhitePixel = new Texture2D(gameClass.GraphicsDevice, 1, 1); Color[] c = new Color[1]; c[0] = Color.White; WhitePixel.SetData<Color>(c); }