tiles.rc: tag which road/wire/rail tiles are "over water"
"over water" means when they decay or are bulldozed, they are replaced with water instead of rubble/dirt. git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@884 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
parent
0640f78ebe
commit
0654013c3e
2 changed files with 18 additions and 16 deletions
|
@ -18,6 +18,7 @@ public class TileSpec
|
|||
TileSpec onShutdown;
|
||||
boolean canBurn;
|
||||
boolean canConduct;
|
||||
boolean overWater;
|
||||
boolean zone;
|
||||
public TileSpec owner;
|
||||
public int ownerOffsetX;
|
||||
|
@ -178,6 +179,7 @@ public class TileSpec
|
|||
|
||||
this.canBurn = !getBooleanAttribute("noburn");
|
||||
this.canConduct = getBooleanAttribute("conducts");
|
||||
this.overWater = getBooleanAttribute("overwater");
|
||||
this.zone = getBooleanAttribute("zone");
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue