anchor.diff:            ..x = game.world.width - rightButton.width.toInt()
             ..y = game.world.height - 100;
   
  -      game.touch.onTouchBeginAndEnd(leftButton, player.goLeft, player.stopLeft);
  +      game.touch.onTouchBeginAndEnd(
  +          leftButton,
  +          () => player.go('left'),
  +          () => player.stop('left'));
   
         game.touch.onTouchBeginAndEnd(
             rightButton,
  -          player.goRight,
  -          player.stopRight);
  +          () => player.go('right'),
  +          () => player.stop('right'));
   
       } else {
   
         game.keyboard.onDownAndUpKeyHandler(
             KeyCode.LEFT,
  -          player.goLeft,
  -          player.stopLeft);
  +          () => player.go('left'),
  +          () => player.stop('left'));
   
         game.keyboard.onDownAndUpKeyHandler(
             KeyCode.RIGHT,
  -          player.goRight,
  -          player.stopRight);
  +          () => player.go('right'),
  +          () => player.stop('right'));
   
       }
   
  +
  +    //player.go('none', speedX: 0, speedY: 0);
     }
   
     update() {
  +
  +    /*player.speedX = 0;
  +    if(game.keyboard.isDown(KeyCode.LEFT)){
  +      player.speedX = -300;
  +    }else if(game.keyboard.isDown(KeyCode.RIGHT)){
  +      player.speedX = 300;
  +    }*/
  +
  +
       if (!ufos.anyAlive()) {
         bulletTimer.cancel();
         killState();
  
positive.code:     });
  
  
  
      if (game.isMobile) {
  
        Button leftButton = game.add.button('flatDark23', 'L')
  
negative.code:   int score;
    Text scoreText;
  
    Sprite player;
    Group<Sprite> bullets;
    Group<Ufo> ufos;
  
  