RuneHive-Game
Loading...
Searching...
No Matches
Fame.java
Go to the documentation of this file.
1
package
com.runehive.content.famehall;
2
3
/**
4
* The fame class.
5
*
6
* @author Daniel
7
*/
8
public
class
Fame
{
9
10
/** The fame type. */
11
private
final
FameType
fame
;
12
13
/** The player name. */
14
private
final
String
name
;
15
16
/** The accomplished date. */
17
private
final
String
accomplished
;
18
19
/**
20
* Constructs a new <code>Fame<code>.
21
*
22
* @param fame
23
* The fame type.
24
* @param name
25
* The player name.
26
* @param accomplished
27
* The accomplished date.
28
*/
29
public
Fame
(
FameType
fame
, String
name
, String
accomplished
) {
30
this.fame =
fame
;
31
this.name =
name
;
32
this.accomplished =
accomplished
;
33
}
34
35
/**
36
* Gets the fame type.
37
*
38
* @return Fame type.
39
*/
40
public
FameType
getFame
() {
41
return
fame
;
42
}
43
44
/**
45
* Gets the player name.
46
*
47
* @return Player name.
48
*/
49
public
String
getName
() {
50
return
name
;
51
}
52
53
/**
54
* Gets the accomplished date.
55
*
56
* @return Fame accomplished date.
57
*/
58
public
String
getAccomplished
() {
59
return
accomplished
;
60
}
61
}
com.runehive.content.famehall.Fame.getFame
FameType getFame()
Gets the fame type.
Definition
Fame.java:40
com.runehive.content.famehall.Fame.accomplished
final String accomplished
The accomplished date.
Definition
Fame.java:17
com.runehive.content.famehall.Fame.getName
String getName()
Gets the player name.
Definition
Fame.java:49
com.runehive.content.famehall.Fame.Fame
Fame(FameType fame, String name, String accomplished)
Constructs a new Fame.
Definition
Fame.java:29
com.runehive.content.famehall.Fame.name
final String name
The player name.
Definition
Fame.java:14
com.runehive.content.famehall.Fame.getAccomplished
String getAccomplished()
Gets the accomplished date.
Definition
Fame.java:58
com.runehive.content.famehall.Fame.fame
final FameType fame
The fame type.
Definition
Fame.java:11
com.runehive.content.famehall.FameType
All the hall of fame types.
Definition
FameType.java:8