com.b3dgs.lionengine
Interface Purview

All Known Implementing Classes:
PurviewFactory

public interface Purview

Allow to create instance of purview (collection of methods usually used by inheritance). Fastest way to call purview factory:

 import static com.b3dgs.lionengine.Purview.PURVIEW;
 //...
 PURVIEW.xxx
 


Field Summary
static Purview PURVIEW
          Purview factory.
 
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.
 

Field Detail

PURVIEW

static final Purview PURVIEW
Purview factory.

Method Detail

createConfigurable

Configurable createConfigurable()
Create a configurable purview.

Returns:
configurable purview.

createCollisionable

Collisionable createCollisionable(Entity entity)
Create a collisionable purview.

Parameters:
entity - entity concerned.
Returns:
collisionable purview.

createMirrorable

Mirrorable createMirrorable()
Create a mirrorable purview.

Returns:
mirrorable purview.

createPathfindable

Pathfindable createPathfindable(PathBasedMap<? extends AbstractPathTile> map,
                                int id)
Create a pathfindable purview.

Parameters:
map - map reference.
id - entry id.
Returns:
pathfindable purview.