public interface TiledCollisionFactory<T extends Positionable>
| Modifier and Type | Method and Description | 
|---|---|
| T | createCollision(TiledMap map,
               TiledObject tiledObject)Create a new collision from a  TiledObject | 
| T | createCollision(TiledMap map,
               Tile tile,
               float x,
               float y,
               float width,
               float height)Create a new collision from a  Tile | 
T createCollision(TiledMap map, Tile tile, float x, float y, float width, float height)
Tilemap - The source TiledMaptile - The source Tilex - The x coordinate of the Tiley - The y coordinate of the Tilewidth - The width of the Tile (Note: if wider than
            Tile this means there are multiple of the same
            Tile - this will only happen when using TiledCollisionMerger)height - The height of the Tile (Note: if higher than
            Tile this means there are multiple of the same
            Tile - this will only happen when using TiledCollisionMerger)T createCollision(TiledMap map, TiledObject tiledObject)
TiledObjectmap - The source TiledMaptiledObject - The TiledObject