JubeatPlus 3.9.11
Loading...
Searching...
No Matches
ScratchBoardView Class Reference

A board of sixteen scratch panels over their backgrounds, plus a count/message view. More...

#include <ScratchBoardView.h>

Inheritance diagram for ScratchBoardView:
Collaboration diagram for ScratchBoardView:

Instance Methods

(instancetype) - initWithFrame:
 Builds the board, its panel grid, and the message view, scaled for the device.
(void) - setDelegate:
 Sets the delegate on the board and forwards it to every panel.
(void) - refreshScratchCount
 Refreshes the message view's scratch count from the challenge status.
(void) - refreshScratchTable
 Refreshes every panel's enabled state from the challenge status.
(void) - timerUpdate
 Forwards a timer tick to every panel and the message view.

Properties

id aDelegate
 The delegate forwarded to every scratch panel and the message view.

Detailed Description

A board of sixteen scratch panels over their backgrounds, plus a count/message view.

Method Documentation

◆ initWithFrame:

- (instancetype) initWithFrame: (CGRect) frame

Builds the board, its panel grid, and the message view, scaled for the device.

Parameters
frameThe board's frame.
Returns
The initialised board.
Ghidra address:
0x818ac
Ghidra address:
0x818ac

◆ refreshScratchCount

- (void) refreshScratchCount

Refreshes the message view's scratch count from the challenge status.

Ghidra address:
0x81f58

◆ refreshScratchTable

- (void) refreshScratchTable

Refreshes every panel's enabled state from the challenge status.

Ghidra address:
0x81fcc

◆ setDelegate:

- (void) setDelegate: (nullable id) delegate

Sets the delegate on the board and forwards it to every panel.

Parameters
delegateThe delegate.
Ghidra address:
0x81e00

◆ timerUpdate

- (void) timerUpdate

Forwards a timer tick to every panel and the message view.

Ghidra address:
0x820f0

Property Documentation

◆ aDelegate

- (id) aDelegate
readwritenonatomicweak

The delegate forwarded to every scratch panel and the message view.

Held weakly.

Ghidra address:
0x821f8 (getter)

The documentation for this class was generated from the following files: