GameDeathPit

class GameDeathPit : GameTileSpriteNode

A class that represents a death pit.

  • Whether the death pit sprite is based off of a texture.

    Declaration

    Swift

    var trigger: Bool
  • Determine whether the player should be killed.

    Declaration

    Swift

    func shouldKill(_ player: Player?) -> Bool