Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added display strings to queue enum. #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 21 additions & 11 deletions src/com/achimala/leaguelib/models/LeagueMatchmakingQueue.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,24 @@
package com.achimala.leaguelib.models;

public enum LeagueMatchmakingQueue {
NONE,
BOT,
BOT_3x3,
NORMAL,
NORMAL_3x3,
ODIN_UNRANKED,
RANKED_SOLO_5x5,
RANKED_TEAM_3x3,
RANKED_TEAM_5x5,
ARAM_UNRANKED_5x5
}
NONE ("Custom Game"),
BOT ("Co-op vs. AI 5v5"),
BOT_3x3 ("Co-op vs. AI 3v3"),
NORMAL ("Normal 5v5"),
NORMAL_3x3 ("Normal 3v3"),
ODIN_UNRANKED ("The Crystal Scar"),
RANKED_SOLO_5x5 ("Ranked Solo 5v5"),
RANKED_TEAM_3x3 ("Ranked Team 3v3"),
RANKED_TEAM_5x5 ("Ranked Team 5v5"),
ARAM_UNRANKED_5x5 ("Howling Abyss");

private String _displayName;

private LeagueMatchmakingQueue(String displayName) {
_displayName = displayName;
}

public String getDisplayName() {
return _displayName;
}
}