Files
javier 91783deb7b
CI / Build & test (macOS) (push) Has been cancelled
CI / Embedded Swift cross-compile (push) Has been cancelled
Documentation / deploy (push) Has been cancelled
Added missing documentation to the source code in the Playdate bindings target.
2026-07-25 12:55:53 +02:00

17 lines
473 B
Swift

internal import CPlaydate
extension Scoreboards {
/// A board belonging to the game.
public struct Board {
/// The board's identifier, used in the other scoreboard calls.
public let boardID: String
/// The board's display name.
public let name: String
init(_ board: PDBoard) {
boardID = String(playdateCString: board.boardID) ?? ""
name = String(playdateCString: board.name) ?? ""
}
}
}