EGDL2 2.1
Loading...
Searching...
No Matches
Enablegames.BoolWidget Class Reference

Represents a boolean widget that can be used to control game objects and update a boolean parameter. More...

Inheritance diagram for Enablegames.BoolWidget:
Collaboration diagram for Enablegames.BoolWidget:

Public Member Functions

void SetStateForGameObjects (bool state)
 Sets the state for the game objects based on the given boolean state.
 
override void UpdateParameter (object o)
 Updates the parameter value of the BoolWidget based on the given object.
 

Detailed Description

Represents a boolean widget that can be used to control game objects and update a boolean parameter.

Member Function Documentation

◆ SetStateForGameObjects()

void Enablegames.BoolWidget.SetStateForGameObjects ( bool state)
inline

Sets the state for the game objects based on the given boolean state.

Parameters
stateThe boolean state to set for the game objects.

◆ UpdateParameter()

override void Enablegames.BoolWidget.UpdateParameter ( object o)
inlinevirtual

Updates the parameter value of the BoolWidget based on the given object.

Parameters
oThe object to update the parameter value with.
Exceptions
System.ApplicationExceptionThrown when there is a mismatch between the widget and parameter type.

Reimplemented from Enablegames.ParameterWidget.


The documentation for this class was generated from the following file: