DiscoverTenerife
Public Member Functions | Private Attributes | List of all members
rankingPlayer Class Reference

Class that represents each one of the elements of the rankingPanel. More...

Inheritance diagram for rankingPlayer:

Public Member Functions

void setData (RankingPlayerData dataToShow)
 This method changes the text of each of the text properties calling the getters of the RankingPlayerData class. More...
 

Private Attributes

GameObject name_
 GameObject that contains the text where the represented player display name will be shown. More...
 
GameObject score_
 GameObject that contains the text where the represented player score will be shown. More...
 
GameObject top_
 GameObject that contains the text where the represented player ranking position will be shown. More...
 
GameObject range_
 GameObject that contains the text where the represented player range name will be shown. More...
 
GameObject rangeImage_
 GameObject that contains the image of the represented player's range. More...
 

Detailed Description

Class that represents each one of the elements of the rankingPanel.

Member Function Documentation

◆ setData()

void rankingPlayer.setData ( RankingPlayerData  dataToShow)

This method changes the text of each of the text properties calling the getters of the RankingPlayerData class.

Parameters
RankingPlayerDatawith all the information that will be shown

Member Data Documentation

◆ name_

GameObject rankingPlayer.name_
private

GameObject that contains the text where the represented player display name will be shown.

◆ range_

GameObject rankingPlayer.range_
private

GameObject that contains the text where the represented player range name will be shown.

◆ rangeImage_

GameObject rankingPlayer.rangeImage_
private

GameObject that contains the image of the represented player's range.

◆ score_

GameObject rankingPlayer.score_
private

GameObject that contains the text where the represented player score will be shown.

◆ top_

GameObject rankingPlayer.top_
private

GameObject that contains the text where the represented player ranking position will be shown.


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