Ejemplo n.º 1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Game1 game = new Game1())
     {
         game.Run();
     }
 }
Ejemplo n.º 2
0
        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();
        }