Пример #1
0
 public override void DoAction(ScreenManager manager, Screen screen, GameTime gameTime, GameSettings gameSettings, GameStatus gameStatus)
 {
     _buttonArea.SetCurrentHorizontalValue(_buttonArea.GetCurrentHorizontalValue() + _changeHorizontalStep);
     _buttonArea.SetCurrentVerticalValue(_buttonArea.GetCurrentVerticalValue() + _changeVerticalStep);
 }
 public override void DoAction(ScreenManager manager, Screen screen, GameTime gameTime, GameSettings gameSettings, GameStatus gameStatus)
 {
     if (_isRollingState2)
     {
         _buttonArea.NextRollingState2();
     }
     else
     {
         _buttonArea.NextRollingState();
     }
 }
 //Screen _screen;
 //public FocusNextButtonAreaButtonAction(Screen screen)
 //{
 //    _screen = screen;
 //}
 public override void DoAction(ScreenManager manager, Screen screen, GameTime gameTime, GameSettings gameSettings, GameStatus gameStatus)
 {
     screen.FocusNextButtonArea(gameTime);
 }