Style Slasher
A dressup combat roguelike created by Scrungle Studios for the 2025 Swinburne Capstone project.
Slasher.Entity.ParamDefinition Class Reference
Inheritance diagram for Slasher.Entity.ParamDefinition:
Inheritance graph
Collaboration diagram for Slasher.Entity.ParamDefinition:
Collaboration graph

Public Member Functions

 ParamDefinition (ParamID id, float value=0)
 
 ParamDefinition (ParamID id, bool enabled)
 
Parameters
enabledLogic OR (all must be false for output to be false, if any of them are true, the final param will be true.)

 
- Public Member Functions inherited from Slasher.Entity.BaseParamValue
 BaseParamValue (ParamID id)
 
void OnBeforeSerialize ()
 
void OnAfterDeserialize ()
 
void OnChange ()
 

Properties

float Value [get, set]
 
- Properties inherited from Slasher.Entity.BaseParamValue
ParamID ID [get, set]
 

Private Attributes

float value = 0
 

Additional Inherited Members

- Events inherited from Slasher.Entity.BaseParamValue
Action OnChanged = () => { }
 

Constructor & Destructor Documentation

◆ ParamDefinition() [1/2]

Slasher.Entity.ParamDefinition.ParamDefinition ( ParamID id,
float value = 0 )

◆ ParamDefinition() [2/2]

Slasher.Entity.ParamDefinition.ParamDefinition ( ParamID id,
bool enabled )

Parameters
enabledLogic OR (all must be false for output to be false, if any of them are true, the final param will be true.)

Member Data Documentation

◆ value

float Slasher.Entity.ParamDefinition.value = 0
private

Property Documentation

◆ Value

float Slasher.Entity.ParamDefinition.Value
getset

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