Class GlideAbility
java.lang.Object
com.codename1.gaming.platformer.Ability
com.codename1.gaming.platformer.GlideAbility
Gliding: holding
Input#ALT (or jump, when holdJump) while falling caps the
fall at glideFall.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(Actor c, PlatformWorld world) Sets velocity and claims aMovementState.Methods inherited from class Ability
earlyProcess, hashState, isEnabled, lateProcess, mix, reset, setEnabled
-
Field Details
-
glideFall
public int glideFallFastest fall while gliding, fixed point per tick. -
holdJump
public boolean holdJumpWhether holding jump glides too, as in many platformers.
-
-
Constructor Details
-
GlideAbility
public GlideAbility()
-
-
Method Details