public class TileConstraint extends Object
Constructor and Description |
---|
TileConstraint(Orientation orientation)
Create constraint.
|
Modifier and Type | Method and Description |
---|---|
void |
add(TileRef tile)
Add an allowed tile.
|
boolean |
equals(Object obj) |
Collection<TileRef> |
getAllowed()
Get the allowed tiles for this orientation.
|
Orientation |
getOrientation()
Get the constraint orientation.
|
int |
hashCode() |
String |
toString() |
public TileConstraint(Orientation orientation)
orientation
- The orientation.LionEngineException
- If null
argument.public void add(TileRef tile)
tile
- The allowed tile reference.public Collection<TileRef> getAllowed()
public Orientation getOrientation()
Copyright © 2016 Byron 3D Games Studio. All rights reserved.