MXVK Vulkan Framework 0.24.0
C++20 Vulkan rendering framework for practical 2D and 3D application development with SDL3.
Loading...
Searching...
No Matches
Score Struct Reference

Public Member Functions

auto operator<=> (const Score &s) const
 Score ()
 Score (std::string name, int score)

Public Attributes

std::string name
int score

Detailed Description

Definition at line 132 of file acid.drop.cpp.

Constructor & Destructor Documentation

◆ Score() [1/2]

Score::Score ( std::string name,
int score )
inline

Definition at line 135 of file acid.drop.cpp.

135: score(score), name(name) {}
std::string name
int score

◆ Score() [2/2]

Score::Score ( )
inline

Definition at line 136 of file acid.drop.cpp.

136: score{0}, name{} {}

Member Function Documentation

◆ operator<=>()

auto Score::operator<=> ( const Score & s) const
inline

Definition at line 137 of file acid.drop.cpp.

137 =>(const Score &s) const {
138 return s.score <=> score;
139 }

Member Data Documentation

◆ name

std::string Score::name

Definition at line 134 of file acid.drop.cpp.

◆ score

int Score::score

Definition at line 133 of file acid.drop.cpp.


The documentation for this struct was generated from the following file: