E5F8 Created own Class for WardType · Petersil1998/Thresh-Java@79d7740 · GitHub
[go: up one dir, main page]

Skip to content

Commit 79d7740

Browse files
committed
Created own Class for WardType
1 parent 71fa75e commit 79d7740

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

src/main/java/net/petersil98/thresh/model/game/match/timeline/event/WardKill.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,4 @@ public TimelineParticipant getKiller() {
2020
public WardType getWardType() {
2121
return wardType;
2222
}
23-
24-
public enum WardType {
25-
SIGHT_WARD,
26-
YELLOW_TRINKET,
27-
BLUE_TRINKET,
28-
CONTROL_WARD,
29-
UNDEFINED
30-
}
3123
}

src/main/java/net/petersil98/thresh/model/game/match/timeline/event/WardPlaced.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
public class WardPlaced extends TimelineEvent {
66

77
private final TimelineParticipant creator;
8-
private final WardKill.WardType wardType;
8+
private final WardType wardType;
99

10-
public WardPlaced(long timestamp, EventType type, TimelineParticipant creator, WardKill.WardType wardType) {
10+
public WardPlaced(long timestamp, EventType type, TimelineParticipant creator, WardType wardType) {
1111
super(timestamp, type);
1212
this.creator = creator;
1313
this.wardType = wardType;
@@ -17,7 +17,7 @@ public TimelineParticipant getCreator() {
1717
return creator;
1818
}
1919

20-
public WardKill.WardType getWardType() {
20+
public WardType getWardType() {
2121
return wardType;
2222
}
2323
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package net.petersil98.thresh.model.game.match.timeline.event;
2+
3+
public enum WardType {
4+
SIGHT_WARD,
5+
YELLOW_TRINKET,
6+
BLUE_TRINKET,
7+
CONTROL_WARD,
8+
TEEMO_MUSHROOM,
9+
UNDEFINED
10+
}

0 commit comments

Comments
 (0)
0