public interface Preference extends Comparable<Preference>
Modifier and Type | Method and Description |
---|---|
void |
apply(MapTile map)
Apply preference on the specified map.
|
Integer |
getPrority()
Get the preference priority.
|
compareTo
void apply(MapTile map)
map
- The map reference.Integer getPrority()
Priority is used to apply preferences in the right order. A low value means a high priority, starting at 0.
If there is many preferences with the same priority, they are applied in the order they where added.
Copyright © 2017 Byron 3D Games Studio. All rights reserved.