Ejemplo n.º 1
0
 //* -----------------------------------------------------------------------*
 /// <summary>低~中難易度状態の移動判定を実行します。</summary>
 ///
 /// <param name="entity">この状態を適用されているオブジェクト。</param>
 /// <returns>移動と判断した場合、<c>true</c>。</returns>
 private bool movePatternLowLevel(CBall entity)
 {
     return(entity.counter % (int)MathHelper.Lerp(
                40, 6, CInterpolate.amountOutQuadClamp(CCursor.instance.level, 5)) == 0);
 }