source: java-rpg-common/Land.java

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

[svn r20]

  • Property mode set to 100644
File size: 398 bytes
RevLine 
[04e7260]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.