Свойство | Тип | Описание | |
---|---|---|---|
XVelocity | double | ||
YVelocity | double | ||
normVelocity | double | ||
sprintVelocity | double |
Метод | Описание | |
---|---|---|
Movement ( double mv, double accel, int tileSize ) : System | ||
UpdateSprint ( |
||
UpdateX ( double xVelocity, double timeElapsed, |
||
UpdateY ( double yVelocity, double timeElapsed, |
public Movement ( double mv, double accel, int tileSize ) : System | ||
mv | double | |
accel | double | |
tileSize | int | |
Результат | System |
public UpdateSprint ( |
||
state | ||
oldState | ||
tileSize | int | |
player | ||
Результат | void |
public UpdateX ( double xVelocity, double timeElapsed, |
||
xVelocity | double | |
timeElapsed | double | |
state | ||
Результат | double |
public UpdateY ( double yVelocity, double timeElapsed, |
||
yVelocity | double | |
timeElapsed | double | |
state | ||
Результат | double |