Shooter Template  1.2.3
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Invector.vBarrel Class Reference
Inheritance diagram for Invector.vBarrel:
Invector.vHealthController Invector.vMonoBehaviour Invector.vIHealthController Invector.vIDamageReceiver

Public Member Functions

override void TakeDamage (vDamage damage)
 Apply Damage to Current Health More...
 
- Public Member Functions inherited from Invector.vHealthController
virtual void ChangeHealth (int value)
 Change the currentHealth of Character More...
 
virtual void ChangeMaxHealth (int value)
 Change the MaxHealth of Character More...
 

Public Attributes

Transform referenceTransformUP
 
float maxAngleUp = 90
 
UnityEngine.Events.UnityEvent onBarrelRoll
 
List< string > acceptableAttacks = new List<string>() { "explosion", "projectile" }
 
- Public Attributes inherited from Invector.vHealthController
int maxHealth = 100
 
float healthRecovery = 0f
 
float healthRecoveryDelay = 0f
 
float currentHealthRecoveryDelay
 

Protected Attributes

bool isBarrelRoll
 
- Protected Attributes inherited from Invector.vHealthController
bool _isDead
 
float _currentHealth
 
OnReceiveDamage _onReceiveDamage = new OnReceiveDamage()
 
OnDead _onDead = new OnDead()
 

Additional Inherited Members

- Protected Member Functions inherited from Invector.vHealthController
virtual void Start ()
 
virtual IEnumerator RecoverHealth ()
 
virtual void HealthRecovery ()
 
- Properties inherited from Invector.vHealthController
int MaxHealth [get, protected set]
 
float currentHealth [get, protected set]
 
bool isDead [get, set]
 
OnReceiveDamage onReceiveDamage [get, protected set]
 
OnDead onDead [get, protected set]
 
virtual bool canRecoverHealth [get]
 
- Properties inherited from Invector.vIHealthController
OnDead onDead [get]
 
float currentHealth [get]
 
int MaxHealth [get]
 
bool isDead [get, set]
 
- Properties inherited from Invector.vIDamageReceiver
OnReceiveDamage onReceiveDamage [get]
 
Transform transform [get]
 
GameObject gameObject [get]
 

Member Function Documentation

◆ TakeDamage()

override void Invector.vBarrel.TakeDamage ( vDamage  damage)
virtual

Apply Damage to Current Health

Parameters
damagedamage

Reimplemented from Invector.vHealthController.

Member Data Documentation

◆ acceptableAttacks

List<string> Invector.vBarrel.acceptableAttacks = new List<string>() { "explosion", "projectile" }

◆ isBarrelRoll

bool Invector.vBarrel.isBarrelRoll
protected

◆ maxAngleUp

float Invector.vBarrel.maxAngleUp = 90

◆ onBarrelRoll

UnityEngine.Events.UnityEvent Invector.vBarrel.onBarrelRoll

◆ referenceTransformUP

Transform Invector.vBarrel.referenceTransformUP

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