Class GameModeStats
- java.lang.Object
-
- at.jonastuechler.gommehdnetjavaapi.clan.GameModeStats
-
public class GameModeStats extends Object
Used to get game mode stats from a clan
-
-
Constructor Summary
Constructors Constructor Description GameModeStats(String gamemode, int elo, int rank, int wins, int loses)Create the GameModeStats instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetElo()Retrieve the elo the clan has in the specified gamemodeStringgetGamemode()Retrieve the name of the gamemodeintgetLoses()Retrieve the amount of loses the clan has in the specified gamemodeintgetRank()Retrieve the rank the clan has in the specified gamemodeintgetWins()Retrieve the amount of wins the clan has in the specified gamemode
-
-
-
Constructor Detail
-
GameModeStats
public GameModeStats(String gamemode, int elo, int rank, int wins, int loses)
Create the GameModeStats instance- Parameters:
gamemode- name of the gamemodeelo- clan elo from the specified gamemoderank- rank that the clan has in the specified gamemodewins- amount of wins that the clan has in the specified gamemodeloses- amount of loses that the clan has in the specified gamemode
-
-
Method Detail
-
getGamemode
public String getGamemode()
Retrieve the name of the gamemode- Returns:
- gamemode name
-
getElo
public int getElo()
Retrieve the elo the clan has in the specified gamemode- Returns:
- elo
-
getRank
public int getRank()
Retrieve the rank the clan has in the specified gamemode- Returns:
- rank
-
getWins
public int getWins()
Retrieve the amount of wins the clan has in the specified gamemode- Returns:
- amount of wins
-
getLoses
public int getLoses()
Retrieve the amount of loses the clan has in the specified gamemode- Returns:
- amount of loses
-
-