C# Class Formula, RPGQuest

Datei anzeigen Open project: hughrogers/RPGQuest Class Usage Examples

Public Properties

Property Type Description
maxValue float
minValue float
piece FormulaPiece[]
useMaxValue bool
useMinValue bool

Public Methods

Method Description
AddPiece ( ) : void
Calculate ( Combatant, user, Combatant, target ) : float
Formula ( ) : System.Collections.Generic
RemovePieceAfter ( int index ) : void

Private Methods

Method Description
EndGroupCalc ( float &calc ) : void
GetPieceValue ( int i, Combatant, user, Combatant, target ) : float

Method Details

AddPiece() public method

public AddPiece ( ) : void
return void

Calculate() public method

public Calculate ( Combatant, user, Combatant, target ) : float
user Combatant,
target Combatant,
return float

Formula() public method

public Formula ( ) : System.Collections.Generic
return System.Collections.Generic

RemovePieceAfter() public method

public RemovePieceAfter ( int index ) : void
index int
return void

Property Details

maxValue public_oe property

public float maxValue
return float

minValue public_oe property

public float minValue
return float

piece public_oe property

public FormulaPiece[] piece
return FormulaPiece[]

useMaxValue public_oe property

public bool useMaxValue
return bool

useMinValue public_oe property

public bool useMinValue
return bool