Package com.ijurnove.cpu3d
Class SceneFlags
java.lang.Object
com.ijurnove.cpu3d.SceneFlags
SceneFlags is used in a Scene to toggle certain features or change specific values.
Values are stored in an EnumMap with key SceneFlag and value Double.
Refer to enum SceneFlag to see what each flag controls.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newSceneFlagswith the default values for each flag. -
Method Summary
-
Constructor Details
-
SceneFlags
public SceneFlags()Constructs a newSceneFlagswith the default values for each flag.
-
-
Method Details
-
getFlag
Returns the value corresponding to a givenSceneFlag.- Parameters:
flag- the given SceneFlag- Returns:
- the value corresponding to the given SceneFlag
-
setFlag
Sets the value of a specifiedSceneFlagto a given double.- Parameters:
flag- the flag to setvalue- the value to set
-