Last change
on this file since 3d64884 was 8edd04e, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 5 years ago |
Make the decompiled game code compile successfully
|
-
Property mode
set to
100644
|
File size:
438 bytes
|
Rev | Line | |
---|
[8edd04e] | 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.