public ChromeTRex()
 {
     _graphics             = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     IsMouseVisible        = true;
     _manager             = new ManagerDeEntidades();
     _estadosDelJuego     = EstadosDelJuego.Inicial;
     _posXDeTexturaFadeIn = Trex.TREX_SPRITE_POS_ANCHO;
 }
 private void trex_SaltoCompleto(object sender, EventArgs e)
 {
     if (_estadosDelJuego == EstadosDelJuego.Transicion)
     {
         _estadosDelJuego = EstadosDelJuego.Jugando;
         _trex.Inicializar();
         _obstaculos.estaActivo = true;
     }
 }
        private bool ComenzarJuego()
        {
            if (_estadosDelJuego != EstadosDelJuego.Inicial)
            {
                return(false);
            }

            _estadosDelJuego = EstadosDelJuego.Transicion;
            _trex.ComenzarASaltar();
            return(true);
        }