예제 #1
0
 void _analyzer_handle(object sender, BalanceChangedEventArgs e)
 {
     foreach (AnalyzerWrapper analyzer in _analyzerWrapers)
     {
         analyzer.ProcessBalanceBoard(e.Balance);
     }
 }
예제 #2
0
 /// <summary>
 /// This will be called every time a currency balance is changed.
 /// </summary>
 /// <param name="args">
 /// Data related to the <see cref="WalletManager.balanceChanged"/> event.
 /// </param>
 private void OnCoinBalanceChanged(BalanceChangedEventArgs args)
 {
     if (args.currency.key != m_softCurrencyDefinition.key)
     {
         return;
     }
     m_WalletChanged = true;
 }
 private void ParkWallet_BalanceChanged(object sender, BalanceChangedEventArgs e)
 {
     RefreshBalance(e.Balance);
 }
예제 #4
0
 void _input_assign_Y_inverted(object sender, BalanceChangedEventArgs e)
 {
     CallHandle((int)MovementOrientation.Vertical, -e.Balance.CenterOfPressure.Y);
 }
예제 #5
0
 void _input_assign_X(object sender, BalanceChangedEventArgs e)
 {
     CallHandle((int)MovementOrientation.Horizontal, e.Balance.CenterOfPressure.X);
 }
예제 #6
0
 void InputAnalyzer_BalanceChanged(object sender, BalanceChangedEventArgs e)
 {
     _analyzerWrapper.ProcessBalanceBoard(e.Balance);
 }