barsuift.simLife.universe
Interface UniverseContext

All Superinterfaces:
Persistent<UniverseContextState>

public interface UniverseContext
extends Persistent<UniverseContextState>


Method Summary
 SimLifeCanvas3D getCanvas3D()
           
 Universe getUniverse()
           
 UniverseTimeController getUniverseTimeController()
           
 boolean isAxisShowing()
           
 boolean isFpsShowing()
           
 void resetToNominalAngleOfView()
          Reset the view along the Z axis, parallel to the (X,Z) plan.
 void resetToOriginalView()
          Reset the view along the Z axis, parallel to the (X,Z) plan.
 void setAxisShowing(boolean axisShowing)
          Add or remove the X-Y-Z axis as 3 segments of 5 meters along X, Y, and Z axis
 void setFpsShowing(boolean fpsShowing)
           
 
Methods inherited from interface barsuift.simLife.Persistent
getState, synchronize
 

Method Detail

getCanvas3D

SimLifeCanvas3D getCanvas3D()

getUniverse

Universe getUniverse()

getUniverseTimeController

UniverseTimeController getUniverseTimeController()

setFpsShowing

void setFpsShowing(boolean fpsShowing)

isFpsShowing

boolean isFpsShowing()

setAxisShowing

void setAxisShowing(boolean axisShowing)
Add or remove the X-Y-Z axis as 3 segments of 5 meters along X, Y, and Z axis

Parameters:
axisShowing -

isAxisShowing

boolean isAxisShowing()

resetToOriginalView

void resetToOriginalView()
Reset the view along the Z axis, parallel to the (X,Z) plan. Position is (4, 2, 20).


resetToNominalAngleOfView

void resetToNominalAngleOfView()
Reset the view along the Z axis, parallel to the (X,Z) plan. Position is (currentX, 2, currentZ).



Copyright © 2010. All Rights Reserved.