int tickcount = 0; //For dividing the framerate. This implementation will change.

        #endregion Fields

        #region Constructors

        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);
            graphics.IsFullScreen = false;
            //graphics.PreferredBackBufferHeight = 720;
            //graphics.PreferredBackBufferWidth = 1280;
            Content.RootDirectory = "Content";
            game = new GameState (this);
        }
 public ImageScene(GameState game, Texture2D image)
     : base(game)
 {
     this.image = image;
     this.game = game;
     TimeLimited = false;
     SceneWidth = image.Width;
     SceneHeight = image.Height;
 }
 public WarpTrigger(String mapName, String locationTarget, Rectangle rect, GameState game)
 {
     position.X = rect.X;
         position.Y = rect.Y;
         hitbox = new Rectangle (0, 0, rect.Width, rect.Height);
         spriteChoice.texture = texture;
         spriteChoice.rect = new Rectangle (0, 0, texture.Width, texture.Height);
         Visible = true;
         this.game = game;
         this.mapName = mapName;
         this.locationTarget = locationTarget;
 }
 public TmxScene(GameState state)
     : base(state)
 {
 }
 public ImageScene(GameState state, Texture2D image, int maxAnimFrames, String nextScene)
     : this(state,image,nextScene)
 {
     TimeLimited = true;
     MaxCount = maxAnimFrames;
 }
 public ImageScene(GameState game, Texture2D image, String nextScene)
     : this(game,image)
 {
     this.nextScene = nextScene;
 }