-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathArtifactType.java
More file actions
41 lines (33 loc) · 846 Bytes
/
ArtifactType.java
File metadata and controls
41 lines (33 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package Project02;
/*
This class will describe each ArtifactType
*/
public enum ArtifactType {
//No artifacts found, damage as dice roll
nothing ("No Artifacts Enabled"),
//Trained peopletype for 1 round, damage +5
mentors ("Trained by Liam Neeson"),
//For warrior add damage +10
weapon ("Found Titanium Sword"),
//Once chosen, immune from damage that round
shield ("Found Golden Shield"),
//Instakill
boobytrap ("Fell into snake pit");
private String description;
/**
* Sets the string type to description.
* @param types
*/
ArtifactType (String types)
{
description = types;
}
/**
* Shows a descriptions of what ArtifactType it is
* @return description
*/
public String getDescription()
{
return description;
}
}