/// <summary>
 /// Allows the game to perform any initialization it needs to before starting to run.
 /// This is where it can query for any required services and load any non-graphic
 /// related content.  Calling base.Initialize will enumerate through any components
 /// and initialize them as well.
 /// </summary>
 protected override void Initialize()
 {
     assignConsts   = new ConstantsAssigning();
     readIn         = new ReadIn();
     writeOutConsts = new WriteOutConsts();
     spriteDict     = new Dictionary <string, Texture2D>();
     fontDict       = new Dictionary <string, SpriteFont>();
     soundDict      = new Dictionary <string, SoundEffect>();
     nets           = new Stack <Net>(5);
     jaguars        = new List <Jaguar>();
     rocks          = new List <Rock>();
     flowers        = new List <Flower>();
     leaves         = new List <Leaf>();
     spawnNet       = new SpawnNet();
     menuText       = new MenuText();
     listManagement = new ListManagement();
     rand           = new Random();
     saveSloth      = new SaveSloth();
     saveRoom       = new SaveRoom();
     fonts          = new SpriteFont[3];
     levels         = new Room[4];
     menus          = new Menu[4];
     spriteBatch    = new SpriteBatch(GraphicsDevice);                                                                      // Create a new SpriteBatch, which can be used to draw textures.
     viewPortRect   = new Rectangle(0, 0, graphics.GraphicsDevice.Viewport.Width, graphics.GraphicsDevice.Viewport.Height); // creates new rectangle with the same dimensions as the screen
     base.Initialize();
 }
 /// <summary>
 /// Allows the game to perform any initialization it needs to before starting to run.
 /// This is where it can query for any required services and load any non-graphic
 /// related content.  Calling base.Initialize will enumerate through any components
 /// and initialize them as well.
 /// </summary>
 protected override void Initialize()
 {
     assignConsts = new ConstantsAssigning();
     readIn = new ReadIn();
     writeOutConsts = new WriteOutConsts();
     spriteDict = new Dictionary<string, Texture2D>();
     fontDict = new Dictionary<string, SpriteFont>();
     soundDict = new Dictionary<string, SoundEffect>();
     nets = new Stack<Net>(5);
     jaguars = new List<Jaguar>();
     rocks = new List<Rock>();
     flowers = new List<Flower>();
     leaves = new List<Leaf>();
     spawnNet = new SpawnNet();
     menuText = new MenuText();
     listManagement = new ListManagement();
     rand = new Random();
     saveSloth = new SaveSloth();
     saveRoom = new SaveRoom();
     fonts = new SpriteFont[3];
     levels = new Room[4];
     menus = new Menu[4];
     spriteBatch = new SpriteBatch(GraphicsDevice); // Create a new SpriteBatch, which can be used to draw textures.
     viewPortRect = new Rectangle(0, 0, graphics.GraphicsDevice.Viewport.Width, graphics.GraphicsDevice.Viewport.Height); // creates new rectangle with the same dimensions as the screen
     base.Initialize();
 }