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

A status bar showing the play-coin count over its limit, the J-cube count, the coin regeneration time, and a button to buy cubes. More...

#include <ChallengeStatusView.h>

Inheritance diagram for ChallengeStatusView:
Collaboration diagram for ChallengeStatusView:

Instance Methods

(instancetype) - initWithFrame:
 Builds the status bar: the digit slots, slash, rest-time label, and buy-cube button.
(void) - updateDisplayStatus
 Refreshes every displayed number and the coin rest-time label from the challenge status.
(void) - timerUpdate
 The per-tick refresh: regenerates a coin when its timer elapses and updates the display.

Properties

id aDelegate
 The delegate told when the buy-cube button (or its confirmation) fires.

Detailed Description

A status bar showing the play-coin count over its limit, the J-cube count, the coin regeneration time, and a button to buy cubes.

Method Documentation

◆ initWithFrame:

- (instancetype) initWithFrame: (CGRect) frame

Builds the status bar: the digit slots, slash, rest-time label, and buy-cube button.

Parameters
frameThe bar's frame.
Returns
The initialised bar.
Ghidra address:
0x85e48
Ghidra address:
0x85e48

◆ timerUpdate

- (void) timerUpdate

The per-tick refresh: regenerates a coin when its timer elapses and updates the display.

Ghidra address:
0x86a84

◆ updateDisplayStatus

- (void) updateDisplayStatus

Refreshes every displayed number and the coin rest-time label from the challenge status.

Ghidra address:
0x868bc

Property Documentation

◆ aDelegate

- (id) aDelegate
readwritenonatomicweak

The delegate told when the buy-cube button (or its confirmation) fires.

Held weakly.

Ghidra address:
0x86ee4 (getter)

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