GetAccel方法
描述
傳回指定的加速/減速值。
語法
Function GetAccel (ParamNumber As Integer) As Integer
參數
- ParamNumber
可包含下列數值的整數運算式:1:加速設定值;2:減速設定值;3:在Jump中使用的起始加速設定值;4:在Jump中使用的起始減速設定值;5:在Jump中使用的接近加速設定值;6:在Jump中使用的接近減速設定值。
傳回值
包含指定加速/減速值的整數。
另請參閱
Accel方法
GetAccel範例
VB 例:
Dim x As Integer
x = m_spel.GetAccel(1)
C# 例:
int x;
x = m_spel.GetAccel(1);