Ejemplo n.º 1
0
        //public void DrawRectamgle
        //{

        //}
        protected void SpawnHoard()
        {
            if (hoard == null)
            {
                hoard = new Hoard(this, random, hoardParams);
            }
        }
Ejemplo n.º 2
0
        //private int cx;
        //private int cy;
        public Game()
        {
            graphics = new GraphicsDeviceManager(this);
            //graphics.ToggleFullScreen();
            //graphics.IsFullScreen = true;

            graphics.PreferredBackBufferHeight = 720;//1080;// 600;//
            graphics.PreferredBackBufferWidth = 1280;//1920;// 800;//
            graphics.ApplyChanges();
            Content.RootDirectory = "Content";
            hoard = null;

            hoardParams = new AIParameters();
            ResetAIParams();
        }
Ejemplo n.º 3
0
        //private int cx;
        //private int cy;

        public Game()
        {
            graphics = new GraphicsDeviceManager(this);
            //graphics.ToggleFullScreen();
            //graphics.IsFullScreen = true;

            graphics.PreferredBackBufferHeight = 720;  //1080;// 600;//
            graphics.PreferredBackBufferWidth  = 1280; //1920;// 800;//
            graphics.ApplyChanges();
            Content.RootDirectory = "Content";
            hoard = null;

            hoardParams = new AIParameters();
            ResetAIParams();
        }
Ejemplo n.º 4
0
 //public void DrawRectamgle
 //{
 //}
 protected void SpawnHoard()
 {
     if (hoard == null)
     {
         hoard = new Hoard(this, random, hoardParams);
     }
 }