/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Game1 game = new Game1()) { game.Run(); } }
public GameWorldCore(GraphicsDeviceManager g, ContentManager c, Game1 game) { mContent = c; mGraphics = g; mGame = game; mPrimitiveBatch = new PrimitiveBatch(Camera, g.GraphicsDevice); mSpriteBatch = new SpriteBatch(mGraphics.GraphicsDevice); mPathfinder = new Pathfinder(g, this); mAgents = new List<Agent>(); mCraters = new List<Crater>(); mCones = new List<Cone>(); mRandom = new Random(); InitializeStartingAgents(); }