Package-level declarations

Types

Link copied to clipboard
abstract class AbstractStage(initialAmount: Int = 32) : Stage
Link copied to clipboard
abstract class AnimatedRenderableObject(initialX: Int, initialY: Int, frames: Long, initialTexture: String) : RenderableObject
Link copied to clipboard
abstract class BossAction(val health: Int, var frames: Long)
Link copied to clipboard
abstract class Dialogs(dialogs: ArrayDeque<Dialogs.Dialog>, messageX: Int, messageY: Int, initialX: Int, initialY: Int) : RenderableObject

Dialogs of the game, used to explain the useless game background.

Link copied to clipboard
abstract class RenderableObject(initialX: Int, initialY: Int) : Object
Link copied to clipboard
abstract class Stage
Link copied to clipboard
open class StageAction(beforeDelay: Long, val action: (AbstractStage) -> Unit)

StageAction class determines the behalf of a Stage, and before executing the action, it will wait for beforeDelay in logical frames

Link copied to clipboard
class WaitStageAction(beforeDelay: Long, val action: (AbstractStage) -> Unit) : StageAction

This class will execute the logic in StageAction after all enemy objects in the ObjectPool disappear, and equals to a class which extends StageAction and overrides the canAction method in next way: