C# Class StatusValue, RPGQuest

显示文件 Open project: hughrogers/RPGQuest Class Usage Examples

Public Properties

Property Type Description
addText BattleTextSettings,
killChar bool
lastValueHUD int[]
levelUp bool
levelUpClass bool
maxStatus int
maxValue int
minValue int
realID int
subText BattleTextSettings,
type StatusValueType

Public Methods

Method Description
AddBaseValue ( int add ) : void
AddValue ( int add, bool checkDeath, bool checkLevelUp, bool showText ) : string
CheckBounds ( ) : string
CheckBounds ( bool checkDeath, bool checkLevelUp ) : string
CompareTo ( int checkValue, ValueCheck comparison, ValueSetter setter, Combatant, c ) : bool
GetBaseValue ( ) : int
GetValue ( ) : int
InitValue ( int val ) : void
IsConsumable ( ) : bool
IsExperience ( ) : bool
IsNormal ( ) : bool
MaxReached ( ) : bool
ResetValue ( ) : void
SetBaseValue ( int val ) : void
SetOwner ( Combatant, c ) : void
SetValue ( int val, bool checkDeath, bool checkLevelUp, bool showText ) : void
StatusValue ( )

Method Details

AddBaseValue() public method

public AddBaseValue ( int add ) : void
add int
return void

AddValue() public method

public AddValue ( int add, bool checkDeath, bool checkLevelUp, bool showText ) : string
add int
checkDeath bool
checkLevelUp bool
showText bool
return string

CheckBounds() public method

public CheckBounds ( ) : string
return string

CheckBounds() public method

public CheckBounds ( bool checkDeath, bool checkLevelUp ) : string
checkDeath bool
checkLevelUp bool
return string

CompareTo() public method

public CompareTo ( int checkValue, ValueCheck comparison, ValueSetter setter, Combatant, c ) : bool
checkValue int
comparison ValueCheck
setter ValueSetter
c Combatant,
return bool

GetBaseValue() public method

public GetBaseValue ( ) : int
return int

GetValue() public method

public GetValue ( ) : int
return int

InitValue() public method

public InitValue ( int val ) : void
val int
return void

IsConsumable() public method

public IsConsumable ( ) : bool
return bool

IsExperience() public method

public IsExperience ( ) : bool
return bool

IsNormal() public method

public IsNormal ( ) : bool
return bool

MaxReached() public method

public MaxReached ( ) : bool
return bool

ResetValue() public method

public ResetValue ( ) : void
return void

SetBaseValue() public method

public SetBaseValue ( int val ) : void
val int
return void

SetOwner() public method

public SetOwner ( Combatant, c ) : void
c Combatant,
return void

SetValue() public method

public SetValue ( int val, bool checkDeath, bool checkLevelUp, bool showText ) : void
val int
checkDeath bool
checkLevelUp bool
showText bool
return void

StatusValue() public method

public StatusValue ( )

Property Details

addText public_oe property

public BattleTextSettings, addText
return BattleTextSettings,

killChar public_oe property

public bool killChar
return bool

lastValueHUD public_oe property

public int[] lastValueHUD
return int[]

levelUp public_oe property

public bool levelUp
return bool

levelUpClass public_oe property

public bool levelUpClass
return bool

maxStatus public_oe property

public int maxStatus
return int

maxValue public_oe property

public int maxValue
return int

minValue public_oe property

public int minValue
return int

realID public_oe property

public int realID
return int

subText public_oe property

public BattleTextSettings, subText
return BattleTextSettings,

type public_oe property

public StatusValueType type
return StatusValueType