source: lost-haven/Land.java@ a5b4186

Last change on this file since a5b4186 was a5b4186, checked in by dportnoy <dmp1488@…>, 17 years ago

[svn r36] Renamed remotely

  • Property mode set to 100644
File size: 398 bytes
Line 
1import java.awt.image.*;
2
3public class Land extends MapElement {
4 private LandType type;
5
6 public Land(LandType type, BufferedImage img, boolean passable) {
7 super(img, passable);
8
9 this.type = type;
10 }
11
12 public Land(LandType type, String imgFile, boolean passable) {
13 super(imgFile, passable);
14
15 this.type = type;
16 }
17
18 public LandType getType() {
19 return type;
20 }
21}
Note: See TracBrowser for help on using the repository browser.