public class Water extends AbstractForeground
components, DIR, fact, numberOfComponents, theme, THEMES, wide
Constructor and Description |
---|
Water(World world,
java.lang.String theme)
Create a new swamp background.
|
Modifier and Type | Method and Description |
---|---|
float |
getDepth() |
float |
getHeight() |
int |
getNominal() |
float |
getSpeed() |
protected void |
load()
Load foreground ressources here, must be implemented.
|
void |
setHeight(float height) |
primaryRender, secondaryRender, update
public Water(World world, java.lang.String theme)
theme
- foreground theme.world
- world reference.protected void load()
AbstractForeground
load
in class AbstractForeground
public float getHeight()
public void setHeight(float height)
public float getDepth()
public int getNominal()
public float getSpeed()