public class TiledCollisionPointFactory extends java.lang.Object implements TiledCollisionFactory<CollisionPoint>
TiledCollisionFactory that creates
 CollisionPoint instances| Constructor and Description | 
|---|
| TiledCollisionPointFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| CollisionPoint | createCollision(TiledMap map,
               TiledObject tiledObject)Create a new collision from a  TiledObject | 
| CollisionPoint | createCollision(TiledMap map,
               Tile tile,
               float x,
               float y,
               float width,
               float height)Create a new collision from a  Tile | 
public CollisionPoint createCollision(TiledMap map, Tile tile, float x, float y, float width, float height)
TiledCollisionFactoryTilecreateCollision in interface TiledCollisionFactory<CollisionPoint>map - 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)public CollisionPoint createCollision(TiledMap map, TiledObject tiledObject)
TiledCollisionFactoryTiledObjectcreateCollision in interface TiledCollisionFactory<CollisionPoint>map - The source TiledMaptiledObject - The TiledObject