Last change
on this file was 8edd04e, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 4 years ago |
Make the decompiled game code compile successfully
|
-
Property mode
set to
100644
|
File size:
438 bytes
|
Line | |
---|
1 | package main;
|
---|
2 |
|
---|
3 | public class TimedEffect extends Effect {
|
---|
4 |
|
---|
5 | private long duration;
|
---|
6 |
|
---|
7 | public TimedEffect(EffectType type, TargetType target, long duration) {
|
---|
8 | super(type, target);
|
---|
9 | this.duration = duration;
|
---|
10 | }
|
---|
11 |
|
---|
12 | public TimedEffect(TimedEffect e) {
|
---|
13 | super(e);
|
---|
14 | this.duration = e.duration;
|
---|
15 | }
|
---|
16 |
|
---|
17 | public TimedEffect copy() {
|
---|
18 | return new TimedEffect(this);
|
---|
19 | }
|
---|
20 |
|
---|
21 | public long getDuration() {
|
---|
22 | return this.duration;
|
---|
23 | }
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.