|
Last change
on this file since b2d7893 was 8edd04e, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 6 years ago |
|
Make the decompiled game code compile successfully
|
-
Property mode
set to
100644
|
|
File size:
671 bytes
|
| Line | |
|---|
| 1 | package main;
|
|---|
| 2 |
|
|---|
| 3 | import java.awt.image.BufferedImage;
|
|---|
| 4 |
|
|---|
| 5 | public class RespawnPoint extends Structure {
|
|---|
| 6 |
|
|---|
| 7 | private boolean marked;
|
|---|
| 8 |
|
|---|
| 9 | public RespawnPoint(StructureType type, BufferedImage img) {
|
|---|
| 10 | super(type, img, true);
|
|---|
| 11 | this.marked = false;
|
|---|
| 12 | }
|
|---|
| 13 |
|
|---|
| 14 | public RespawnPoint(StructureType type, String imgFile, boolean passable) {
|
|---|
| 15 | super(type, imgFile, passable);
|
|---|
| 16 | this.marked = false;
|
|---|
| 17 | }
|
|---|
| 18 |
|
|---|
| 19 | public RespawnPoint(RespawnPoint copy, Point loc) {
|
|---|
| 20 | super(copy, loc);
|
|---|
| 21 | this.marked = copy.marked;
|
|---|
| 22 | }
|
|---|
| 23 |
|
|---|
| 24 | public boolean isMarked() {
|
|---|
| 25 | return this.marked;
|
|---|
| 26 | }
|
|---|
| 27 |
|
|---|
| 28 | public void mark() {
|
|---|
| 29 | this.marked = true;
|
|---|
| 30 | }
|
|---|
| 31 |
|
|---|
| 32 | public void unmark() {
|
|---|
| 33 | this.marked = false;
|
|---|
| 34 | }
|
|---|
| 35 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.