source: lost-haven/main/RespawnPoint.java@ 8edd04e

Last change on this file since 8edd04e 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: 671 bytes
RevLine 
[8edd04e]1package main;
2
3import java.awt.image.BufferedImage;
4
5public 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.