Loading...
Searching...
No Matches
PixelCrushers.LoveHate.Preset Class Reference

A preset is a predefined set of traits, useful as a shortcut to apply traits to factions and deeds. More...

Public Member Functions

 Preset ()
 
 Preset (string name, float[] traits)
 
 Preset (string name, TraitDefinition[] traitDefinitions)
 

Public Attributes

string name = string.Empty
 The preset's name.
 
string description = string.Empty
 An optional description.
 
float[] traits = new float[0]
 The personality traits associated with this preset.
 

Detailed Description

A preset is a predefined set of traits, useful as a shortcut to apply traits to factions and deeds.

Constructor & Destructor Documentation

◆ Preset() [1/3]

PixelCrushers.LoveHate.Preset.Preset ( )
inline

◆ Preset() [2/3]

PixelCrushers.LoveHate.Preset.Preset ( string  name,
float[]  traits 
)
inline

◆ Preset() [3/3]

PixelCrushers.LoveHate.Preset.Preset ( string  name,
TraitDefinition[]  traitDefinitions 
)
inline

Member Data Documentation

◆ description

string PixelCrushers.LoveHate.Preset.description = string.Empty

An optional description.

Used only for the designer's benefit in the editor.

◆ name

string PixelCrushers.LoveHate.Preset.name = string.Empty

The preset's name.

◆ traits

float [] PixelCrushers.LoveHate.Preset.traits = new float[0]

The personality traits associated with this preset.


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