Module ...

Defines a turn based game If this class is not used the game is realtime. This game type pauses the ticking as long as its paused property is true.
To use it make your player "act" method set the game property paused to true and when an action is made to false

Functions

_M:init (keyhandler, energy_to_act, energy_per_tick) See engine.GameEnergyBased


Functions

_M:init (keyhandler, energy_to_act, energy_per_tick)
See engine.GameEnergyBased

Parameters

  • keyhandler:
  • energy_to_act:
  • energy_per_tick:

Valid XHTML 1.0!