jme.locale.external.feature
Interface Water

All Known Implementing Classes:
WaterMesh, WaterPlane

public interface Water

Water defines an interface for a water feature. Water is maintained in the World class for rendering.

Version:
1
Author:
Mark Powell

Method Summary
 void render()
          render renders the water feature.
 void update(float time)
          update freshens the mesh that makes up the water.
 

Method Detail

update

public void update(float time)
update freshens the mesh that makes up the water. This can allow for animation of the water such as waves, splashes, etc.

Parameters:
time - the time value for frame independant animations.

render

public void render()
render renders the water feature. This feature when rendered by a Terrain subclass will be rendered last to allow for complete blending and transparency effects.