RuneHive-Game
Loading...
Searching...
No Matches
ClanType.java
Go to the documentation of this file.
1
package
com.runehive.content.clanchannel;
2
3
/**
4
* The different clan types.
5
*
6
* @author Daniel
7
*/
8
public
enum
ClanType
{
9
/** Clans that are focused on PVP. */
10
PVP
(
"PvP"
, 8),
11
12
/** Clans that are focused on PVM. */
13
PVM
(
"PvM"
, 3),
14
15
/** Clans that are focused on skilling. */
16
SKILLING
(
"Skilling"
, 5),
17
18
/** Clans that are focused on socialism. */
19
SOCIAL
(
"Social"
, 20),
20
21
/** Clans that are focused on iron man accounts. */
22
IRON_MAN
(
"Ironman"
, 18);
23
24
private
final
String
name
;
25
private
final
int
icon
;
26
27
ClanType
(String
name
,
int
icon
) {
28
this.name =
name
;
29
this.icon =
icon
;
30
}
31
32
public
String
getName
() {
33
return
name
;
34
}
35
36
public
int
getIconValue
() {
37
return
icon
;
38
}
39
40
public
String
getIcon
() {
41
return
"<icon="
+
getIconValue
() +
">"
;
42
}
43
44
}
com.runehive.content.clanchannel.ClanType.PVM
PVM
Clans that are focused on PVM.
Definition
ClanType.java:13
com.runehive.content.clanchannel.ClanType.getIconValue
int getIconValue()
Definition
ClanType.java:36
com.runehive.content.clanchannel.ClanType.name
final String name
Definition
ClanType.java:24
com.runehive.content.clanchannel.ClanType.IRON_MAN
IRON_MAN
Clans that are focused on iron man accounts.
Definition
ClanType.java:22
com.runehive.content.clanchannel.ClanType.PVP
PVP
Clans that are focused on PVP.
Definition
ClanType.java:10
com.runehive.content.clanchannel.ClanType.getIcon
String getIcon()
Definition
ClanType.java:40
com.runehive.content.clanchannel.ClanType.icon
final int icon
Definition
ClanType.java:25
com.runehive.content.clanchannel.ClanType.SKILLING
SKILLING
Clans that are focused on skilling.
Definition
ClanType.java:16
com.runehive.content.clanchannel.ClanType.getName
String getName()
Definition
ClanType.java:32
com.runehive.content.clanchannel.ClanType.ClanType
ClanType(String name, int icon)
Definition
ClanType.java:27
com.runehive.content.clanchannel.ClanType.SOCIAL
SOCIAL
Clans that are focused on socialism.
Definition
ClanType.java:19