public class Environment
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
tripleplay.anim.Animator |
animator |
Constructor and Description |
---|
Environment()
Constructor of the Environment
|
Modifier and Type | Method and Description |
---|---|
playn.core.Image |
getBaseImage() |
playn.core.GroupLayer |
getGraphLayer() |
playn.core.GroupLayer |
getMainLayer() |
playn.core.GroupLayer |
getUILayer() |
float |
getX() |
float |
getY() |
void |
paint(float alpha)
paints the environment
|
void |
setX(float xOffset)
Set x offset to the given value
|
void |
setY(float yOffset)
Set y offset to the given value
|
void |
setZoomLevel(Zoom zLevel)
Sets the zoom level the the given level
|
void |
update(float delta) |
Zoom |
zLevel() |
public playn.core.Image getBaseImage()
public playn.core.GroupLayer getGraphLayer()
public playn.core.GroupLayer getMainLayer()
public playn.core.GroupLayer getUILayer()
public void update(float delta)
public void paint(float alpha)
public void setX(float xOffset)
xOffset
- - floatpublic void setY(float yOffset)
yOffset
- - floatpublic float getX()
public float getY()
public void setZoomLevel(Zoom zLevel)
zlevel
- - zoom level of type Zoompublic Zoom zLevel()