Interface PlatformView.InputSource
- Enclosing class:
PlatformView
public static interface PlatformView.InputSource
Supplies the player's input instead of the device, for a replay or a
remote player.
-
Method Summary
Modifier and TypeMethodDescriptionint[]next(PlatformWorld world, int local) The input for the next tick.
-
Method Details
-
next
The input for the next tick.
Parameters
world: the world about to steplocal: what the local devices read this tick
Returns
com.codename1.gaming.platformer.Inputbits per actor, in the order they were added; actors with a brain ignore theirs
-