C# Class Sorcerer

Inheritance: PlayerChar
ファイルを表示 Open project: marouen-lamiri/Second-Soul Class Usage Examples

Public Properties

Property Type Description
database DatabaseSorcerer,
soulShards int

Protected Properties

Property Type Description
fighter Fighter,
intelligence int
intelligencePerLvl int
spirit int
spiritPerLvl int
wisdom int
wisdomPerLvl int

Public Methods

Method Description
calculateNewPrimaryStats ( ) : void
calculateSecondaryStats ( ) : void
criticalHitCheck ( ) : bool
gainSouls ( int souls ) : void
getDamage ( ) : double
getDamageCanMiss ( ) : double
getFighter ( ) : Fighter,
getIntelligence ( ) : int
getSpirit ( ) : int
getWisdom ( ) : int
isDead ( ) : bool
levelUp ( ) : void
loseEnergy ( float energy ) : bool
setIntelligence ( int iIntelligence ) : void
setSpirit ( int iSpirit ) : void
setWisdom ( int iWisdom ) : void

Protected Methods

Method Description
FixedUpdate ( ) : void
Start ( ) : void
initializeMoney ( ) : void
initializePrimaryStats ( ) : void
sorcererStart ( ) : void
sorcererUpdate ( ) : void

Method Details

FixedUpdate() protected method

protected FixedUpdate ( ) : void
return void

Start() protected method

protected Start ( ) : void
return void

calculateNewPrimaryStats() public method

public calculateNewPrimaryStats ( ) : void
return void

calculateSecondaryStats() public method

public calculateSecondaryStats ( ) : void
return void

criticalHitCheck() public method

public criticalHitCheck ( ) : bool
return bool

gainSouls() public method

public gainSouls ( int souls ) : void
souls int
return void

getDamage() public method

public getDamage ( ) : double
return double

getDamageCanMiss() public method

public getDamageCanMiss ( ) : double
return double

getFighter() public method

public getFighter ( ) : Fighter,
return Fighter,

getIntelligence() public method

public getIntelligence ( ) : int
return int

getSpirit() public method

public getSpirit ( ) : int
return int

getWisdom() public method

public getWisdom ( ) : int
return int

initializeMoney() protected method

protected initializeMoney ( ) : void
return void

initializePrimaryStats() protected method

protected initializePrimaryStats ( ) : void
return void

isDead() public method

public isDead ( ) : bool
return bool

levelUp() public method

public levelUp ( ) : void
return void

loseEnergy() public method

public loseEnergy ( float energy ) : bool
energy float
return bool

setIntelligence() public method

public setIntelligence ( int iIntelligence ) : void
iIntelligence int
return void

setSpirit() public method

public setSpirit ( int iSpirit ) : void
iSpirit int
return void

setWisdom() public method

public setWisdom ( int iWisdom ) : void
iWisdom int
return void

sorcererStart() protected method

protected sorcererStart ( ) : void
return void

sorcererUpdate() protected method

protected sorcererUpdate ( ) : void
return void

Property Details

database public_oe property

public DatabaseSorcerer, database
return DatabaseSorcerer,

fighter protected_oe property

protected Fighter, fighter
return Fighter,

intelligence protected_oe property

protected int intelligence
return int

intelligencePerLvl protected_oe property

protected int intelligencePerLvl
return int

soulShards public_oe static_oe property

public static int soulShards
return int

spirit protected_oe property

protected int spirit
return int

spiritPerLvl protected_oe property

protected int spiritPerLvl
return int

wisdom protected_oe property

protected int wisdom
return int

wisdomPerLvl protected_oe property

protected int wisdomPerLvl
return int