public class TilePathModel extends Object implements TilePath
Constructor and Description |
---|
TilePathModel(String category)
Create a tile path.
|
Modifier and Type | Method and Description |
---|---|
void |
addObjectId(Integer id)
Add an object ID over this tile.
|
String |
getCategory()
Get the category name.
|
Collection<Integer> |
getObjectsId()
Get the objects ID over this tile.
|
void |
removeObjectId(Integer id)
Remove an object ID from this tile.
|
public TilePathModel(String category)
category
- The category name.public void addObjectId(Integer id)
TilePath
addObjectId
in interface TilePath
id
- The object ID reference to add.public void removeObjectId(Integer id)
TilePath
removeObjectId
in interface TilePath
id
- The object ID reference to remove.public Collection<Integer> getObjectsId()
TilePath
getObjectsId
in interface TilePath
public String getCategory()
TilePath
getCategory
in interface TilePath
Copyright © 2016 Byron 3D Games Studio. All rights reserved.