Esempio n. 1
0
        //public void DrawRectamgle
        //{

        //}
        protected void SpawnHoard()
        {
            if (hoard == null)
            {
                hoard = new Hoard(this, random, hoardParams);
            }
        }
Esempio 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();
        }
Esempio 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();
        }
Esempio n. 4
0
 //public void DrawRectamgle
 //{
 //}
 protected void SpawnHoard()
 {
     if (hoard == null)
     {
         hoard = new Hoard(this, random, hoardParams);
     }
 }