3D Dungeon Crawler
Loading...
Searching...
No Matches
PlayerRessource Class Reference
Inheritance diagram for PlayerRessource:

Public Member Functions

void TakeDamage (int baseDamage)
 
void TakeDamage (int baseDamage, int attackStat)
 
void UseMana (int manacost)
 
void ReplenshHealthMana (float healthAmount, float manaAmount)
 
void ApplySupport (SupportSpell supportSpell)
 

Public Attributes

float maxHealth = 100f
 
float currentHealth
 
float maxMana = 100
 
float currentMana
 
GameObject GOScreen
 
PlayerEquipment playerEquipment
 
Stat stamina
 
Stat strength
 
Stat intelligence
 
Stat armor
 
Stat speed
 

Properties

float healthPercent [get]
 
float currentManaPercent [get]
 
bool hasStamina [get]
 
float StaminaPercent [get]
 

Member Function Documentation

◆ ApplySupport()

void PlayerRessource.ApplySupport ( SupportSpell supportSpell)

◆ ReplenshHealthMana()

void PlayerRessource.ReplenshHealthMana ( float healthAmount,
float manaAmount )

◆ TakeDamage() [1/2]

void PlayerRessource.TakeDamage ( int baseDamage)

◆ TakeDamage() [2/2]

void PlayerRessource.TakeDamage ( int baseDamage,
int attackStat )

◆ UseMana()

void PlayerRessource.UseMana ( int manacost)

Member Data Documentation

◆ armor

Stat PlayerRessource.armor

◆ currentHealth

float PlayerRessource.currentHealth

◆ currentMana

float PlayerRessource.currentMana

◆ GOScreen

GameObject PlayerRessource.GOScreen

◆ intelligence

Stat PlayerRessource.intelligence

◆ maxHealth

float PlayerRessource.maxHealth = 100f

◆ maxMana

float PlayerRessource.maxMana = 100

◆ playerEquipment

PlayerEquipment PlayerRessource.playerEquipment

◆ speed

Stat PlayerRessource.speed

◆ stamina

Stat PlayerRessource.stamina

◆ strength

Stat PlayerRessource.strength

Property Documentation

◆ currentManaPercent

float PlayerRessource.currentManaPercent
get

◆ hasStamina

bool PlayerRessource.hasStamina
get

◆ healthPercent

float PlayerRessource.healthPercent
get

◆ StaminaPercent

float PlayerRessource.StaminaPercent
get

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