wyvern.lib.classes
Interface Terrain.NoFlyweight

All Known Implementing Classes:
Lava, TerrainRoad
Enclosing interface:
Terrain

public static interface Terrain.NoFlyweight

Tagging interface that tells the MapLoader not to make this Terrain type a "flyweight". Normally there is only one instance of a given terrain type in a map. With this interface, there's one instance per location the terrain occupies. Useful if the terrain has to know its location, e.g. to damage monsters when they walk on it.