Class Abilities
java.lang.Object
com.codename1.gaming.platformer.Abilities
Creates the stock abilities by name, as level files, power-ups and the editor
refer to them.
-
Method Details
-
heroOrder
Every stock ability name, in a sensible processing order for a hero.
Returns
a new array
-
create
Creates an ability.
Parameters
name:move,jump,crouch,ladder,walljump,dash,jetpack,glide,swim,fly,look,weapon,swordorgriptileSize: the level's tile size, fixed point, for size-relative tuning
Returns
the ability, or null for an unknown name
-
typeOf
-