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