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