getSpeedSquared method
Returns the current speed in squared space of this game entity.
Implementation
double getSpeedSquared() {
return velocity.squaredLength;
}
Returns the current speed in squared space of this game entity.
double getSpeedSquared() {
return velocity.squaredLength;
}