com.b3dgs.lionengine.game.purviews.impl
Class PurviewFactory

java.lang.Object
  extended by com.b3dgs.lionengine.game.purviews.impl.PurviewFactory
All Implemented Interfaces:
Purview

public final class PurviewFactory
extends java.lang.Object
implements Purview


Field Summary
 
Fields inherited from interface com.b3dgs.lionengine.Purview
PURVIEW
 
Method Summary
 Collisionable createCollisionable(Entity entity)
          Create a collisionable purview.
 Configurable createConfigurable()
          Create a configurable purview.
 Mirrorable createMirrorable()
          Create a mirrorable purview.
 Pathfindable createPathfindable(PathBasedMap<? extends AbstractPathTile> map, int id)
          Create a pathfindable purview.
static Purview getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Purview getInstance()

createConfigurable

public Configurable createConfigurable()
Description copied from interface: Purview
Create a configurable purview.

Specified by:
createConfigurable in interface Purview
Returns:
configurable purview.

createCollisionable

public Collisionable createCollisionable(Entity entity)
Description copied from interface: Purview
Create a collisionable purview.

Specified by:
createCollisionable in interface Purview
Parameters:
entity - entity concerned.
Returns:
collisionable purview.

createMirrorable

public Mirrorable createMirrorable()
Description copied from interface: Purview
Create a mirrorable purview.

Specified by:
createMirrorable in interface Purview
Returns:
mirrorable purview.

createPathfindable

public Pathfindable createPathfindable(PathBasedMap<? extends AbstractPathTile> map,
                                       int id)
Description copied from interface: Purview
Create a pathfindable purview.

Specified by:
createPathfindable in interface Purview
Parameters:
map - map reference.
id - entry id.
Returns:
pathfindable purview.