Esempio n. 1
0
 /// <summary>
 /// Begins subtracting from the value each frame.
 /// </summary>
 public void BeginAccumulatingBackwards()
 {
     _accumulatorState = AccumulatorState.Backwards;
 }
Esempio n. 2
0
 /// <summary>
 /// Stops modifying the value each frame.
 /// </summary>
 public void StopAccumulating()
 {
     _accumulatorState = AccumulatorState.None;
 }
Esempio n. 3
0
 /// <summary>
 /// Begins adding to the value each frame.
 /// </summary>
 public void BeginAccumulatingForwards()
 {
     _accumulatorState = AccumulatorState.Forwards;
 }