Player

constructor(initialX: Int, initialY: Int, invincible: Boolean = false)

Parameters

initialX

the initial X coordinate of the player.

initialY

the initial Y coordinate of the player.

invincible

if the player is invincible.