source: java-rpg-common/Structure.java@ d6c8eb6

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

[svn r20]

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