source: lost-haven/main/ArtifactPoint.java@ a49176d

Last change on this file since a49176d 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: 635 bytes
Line 
1package main;
2
3import java.awt.image.BufferedImage;
4
5public class ArtifactPoint extends Structure {
6
7 private Point target;
8
9 public ArtifactPoint(StructureType type, BufferedImage img) {
10 super(type, img, true);
11 this.target = null;
12 }
13
14 public ArtifactPoint(StructureType type, String imgFile, boolean passable) {
15 super(type, imgFile, passable);
16 this.target = null;
17 }
18
19 public ArtifactPoint(ArtifactPoint copy, Point loc) {
20 super(copy, loc);
21 this.target = copy.target;
22 }
23
24 public Point getTarget() {
25 return this.target;
26 }
27
28 public void setTarget(Point target) {
29 this.target = target;
30 }
31}
Note: See TracBrowser for help on using the repository browser.