Methapolis  0.27
 All Classes Namespaces Files Functions Variables Enumerator
Tile.java
Go to the documentation of this file.
1 package refactored;
2 
3 import java.util.List;
4 import java.util.Map;
5 
6 import micropolisj.engine.TileSpec;
7 import micropolisj.engine.TileSpec.BuildingInfo;
8 
9 public class Tile extends MapObject {
10 
11  // ATTRIBUTES
12 
13  public TileSpec owner;
14  public int ownerOffsetX;
15  public int ownerOffsetY;
16 
17  public BuildingInfo buildingInfo;
19  public TileSpec onPower;
21  public String name;
22  public Map<String, String> attributes;
23  public List<String> images;
24 
25  // TODO: reference to building
26 // Building building;
27 
28  // CONSTRUCTORS
29  public Tile() {
30 
31  }
32 
33  public static Tile newTileFromID(int id) {
34  // TODO: to be implemented...
35  return null;
36  }
37 
38  // METHODS
39 
40 
41  // GETTERS & SETTERS
42 }