jme.locale
Interface Locale

All Known Implementing Classes:
SimpleLocale, Terrain

public interface Locale

Locale defines an interface for the environment of the game. This environment can be anything from terrain to indoors to space. This will define the root coordinate system. Which the entities should use as a reference.

Version:
0.1.0
Author:
Mark Powell

Method Summary
 void render()
          render displays the locale to the screen.
 void update(float time)
          update refreshes the locale to reflect any changes that may have take place since the previous frame.
 boolean useDistanceFog()
          useDistanceFog returns true if distance based fog is being used.
 boolean useVolumetricFog()
          useVolumetricFog returns true if volumetric fog is being used.
 

Method Detail

update

public void update(float time)
update refreshes the locale to reflect any changes that may have take place since the previous frame.


render

public void render()
render displays the locale to the screen.


useDistanceFog

public boolean useDistanceFog()
useDistanceFog returns true if distance based fog is being used.

Returns:
true if distance fog is turned on, false otherwise.

useVolumetricFog

public boolean useVolumetricFog()
useVolumetricFog returns true if volumetric fog is being used.

Returns:
true if volumetric fog is turned on, false otherwise.