public class POIManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.ArrayList<Lens> |
lenses
The lenses.
|
Constructor and Description |
---|
POIManager(IStage stage,
float displayWidth,
float displayHeight,
com.jme3.math.Vector2f displayOffset,
EntityManager entityManager)
Instantiates a new POI manager.
|
Modifier and Type | Method and Description |
---|---|
void |
generateBackground()
Generate background.
|
void |
generateLensButton()
Generate lens button.
|
IImage |
generateLensedPOI(float x,
float y,
java.lang.String lensValue,
java.lang.String name)
Generate lensed poi.
|
IImage |
generatePOI(float x,
float y,
java.lang.String name)
Generate poi.
|
java.util.ArrayList<LensVisiblePOI> |
getlensVisiblePOIs() |
java.util.ArrayList<IImage> |
getPOIs() |
public static java.util.ArrayList<Lens> lenses
public POIManager(IStage stage, float displayWidth, float displayHeight, com.jme3.math.Vector2f displayOffset, EntityManager entityManager)
stage
- the stagedisplayWidth
- the display widthdisplayHeight
- the display heightdisplayOffset
- the display offsetentityManager
- the entity managerpublic void generateBackground() throws ContentTypeNotBoundException
ContentTypeNotBoundException
- the content type not bound exceptionpublic void generateLensButton() throws ContentTypeNotBoundException
ContentTypeNotBoundException
- the content type not bound exceptionpublic IImage generateLensedPOI(float x, float y, java.lang.String lensValue, java.lang.String name) throws ContentTypeNotBoundException
x
- the xy
- the ylensValue
- the lens valuename
- the nameContentTypeNotBoundException
- the content type not bound exceptionpublic IImage generatePOI(float x, float y, java.lang.String name) throws ContentTypeNotBoundException
x
- the xy
- the yname
- the nameContentTypeNotBoundException
- the content type not bound exceptionpublic java.util.ArrayList<LensVisiblePOI> getlensVisiblePOIs()
public java.util.ArrayList<IImage> getPOIs()