Package-level declarations
Types
Link copied to clipboard
The basic class for enemies. It is not necessary to implement the Object.collide method, for all the collide between is checked in Player.update method.
Link copied to clipboard
abstract class Player(var initialX: Int, var initialY: Int, val invincible: Boolean = false) : Entity
The basic class of player. After reinitialize the top.kkoishi.stg.logic.ObjectPool.player, you can switch the GameStage(gameState) to STATE_PLAYING, then this class can be rendered and upgrade correctly.