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

A title-screen ornament made of a tiltable background, a looping car, and a smog puff. More...

#include <NteTitleOptionView.h>

Inheritance diagram for NteTitleOptionView:
Collaboration diagram for NteTitleOptionView:

Instance Methods

(instancetype) - initWithFrame:
 Builds the three layered subviews at the given size and starts the reveal animation.
(void) - setOptDirection:
 Tilts and optionally mirrors the background plate.
(void) - startAnimation
 Fades the smog in from a collapsed, offset start to its resting scale, then starts the car loop.
(void) - startCarAnimation
 Bobs the car up by a few points and reschedules itself while the loop is enabled.
(void) - stopAnimation
 Disables the car loop and clears every pending animation on the car and the smog.

Detailed Description

A title-screen ornament made of a tiltable background, a looping car, and a smog puff.

Method Documentation

◆ initWithFrame:

- (instancetype) initWithFrame: (CGRect) frame

Builds the three layered subviews at the given size and starts the reveal animation.

Only the frame's size is used; its origin is ignored. The background plate and the car container both fill the frame, the smog fills the loaded smog artwork's own size, and the car artwork is placed to the right of the smog's width.

Parameters
frameThe view's frame; only size is read.
Returns
The initialised, already-animating ornament.
Ghidra address:
0x2078e4
Ghidra address:
0x2078e4

◆ setOptDirection:

- (void) setOptDirection: (int) direction

Tilts and optionally mirrors the background plate.

Parameters
directionA bit-mask: bit 0 mirrors horizontally and negates the tilt, bit 1 tilts one way, and bit 2 tilts the other way (overriding bit 1).
Ghidra address:
0x207bc0
Ghidra address:
0x207bc0

◆ startAnimation

- (void) startAnimation

Fades the smog in from a collapsed, offset start to its resting scale, then starts the car loop.

Ghidra address:
0x207cb0
Ghidra address:
0x207f2c
Ghidra address:
0x207fd0

◆ startCarAnimation

- (void) startCarAnimation

Bobs the car up by a few points and reschedules itself while the loop is enabled.

Ghidra address:
0x207fd4
Ghidra address:
0x20816c
Ghidra address:
0x2081e0

◆ stopAnimation

- (void) stopAnimation

Disables the car loop and clears every pending animation on the car and the smog.

Ghidra address:
0x208214

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