RhythmGame 1.4.3
Loading...
Searching...
No Matches
Signals | Public Member Functions | Properties | Friends | List of all members
qml_components::BattleProfiles Class Reference

The profiles used in battle mode. More...

#include <ProfileList.h>

Inheritance diagram for qml_components::BattleProfiles:
Inheritance graph
[legend]
Collaboration diagram for qml_components::BattleProfiles:
Collaboration graph
[legend]

Signals

void player1ProfileChanged ()
 
void player2ProfileChanged ()
 

Public Member Functions

void setPlayer1Profile (resource_managers::Profile *profile)
 
auto getPlayer1Profile () const -> resource_managers::Profile *
 
void setPlayer2Profile (resource_managers::Profile *profile)
 
auto getPlayer2Profile () const -> resource_managers::Profile *
 

Properties

resource_managers::Profile * player1Profile {}
 
resource_managers::Profile * player2Profile {}
 

Friends

class ProfileList
 

Detailed Description

The profiles used in battle mode.

This class contains the two profiles used in battle mode. You need to set both profiles before setting ProfileList::battleActive.

Member Function Documentation

◆ getPlayer1Profile()

auto qml_components::BattleProfiles::getPlayer1Profile ( ) const -> resource_managers::Profile*

◆ getPlayer2Profile()

auto qml_components::BattleProfiles::getPlayer2Profile ( ) const -> resource_managers::Profile*

◆ player1ProfileChanged

void qml_components::BattleProfiles::player1ProfileChanged ( )
signal

◆ player2ProfileChanged

void qml_components::BattleProfiles::player2ProfileChanged ( )
signal

◆ setPlayer1Profile()

void qml_components::BattleProfiles::setPlayer1Profile ( resource_managers::Profile *  profile)

◆ setPlayer2Profile()

void qml_components::BattleProfiles::setPlayer2Profile ( resource_managers::Profile *  profile)

Friends And Related Symbol Documentation

◆ ProfileList

friend class ProfileList
friend

Property Documentation

◆ player1Profile

resource_managers::Profile * qml_components::BattleProfiles::player1Profile {}
readwrite

◆ player2Profile

resource_managers::Profile * qml_components::BattleProfiles::player2Profile {}
readwrite

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