Пример #1
0
 private void OnCurrentRollIndexChanged(object sender, int currentRollIndex)
 {
     RaisePropertyChanged(() => CurrentRollIndex);
     CurrentRollIndexChanged?.Invoke(this, currentRollIndex);
     CurrentFrameIndexChanged?.Invoke(this, game.GetFrameIndex(currentRollIndex));
 }
Пример #2
0
 public void OnCurrentFrameIndexChanged(object sender, int currentFrameIndex)
 {
     RaisePropertyChanged(() => CurrentFrameIndex);
     CurrentFrameIndexChanged?.Invoke(this, currentFrameIndex);
     RaisePropertyChanged(() => CurrentFrame);
 }