public class TiledCollisionPointFactory extends java.lang.Object implements TiledCollisionFactory<CollisionPoint>
TiledCollisionFactory
that creates
CollisionPoint
instancesConstructor and Description |
---|
TiledCollisionPointFactory() |
Modifier and Type | Method and Description |
---|---|
CollisionPoint |
createCollision(TiledObject tiledObject) |
CollisionPoint |
createCollision(Tile tile,
float x,
float y,
float width,
float height) |
public CollisionPoint createCollision(Tile tile, float x, float y, float width, float height)
createCollision
in interface TiledCollisionFactory<CollisionPoint>
public CollisionPoint createCollision(TiledObject tiledObject)
createCollision
in interface TiledCollisionFactory<CollisionPoint>