Liberi
An exergame built for kids with CP!
GuardianWeapon Class Reference

Derived class for storing Wiskin Defense weapons. More...

Inherits Item.

Public Attributes

GuardianWeaponType AttackStyle
 What attack style this weapon is (Melee vs. Ranged). More...
 
Sprite PrimarySprite
 The primary sprite. More...
 
GameObject Projectile
 The projectile this weapon fires if it is a Ranged weapon. More...
 
AudioClip BasicSound
 The sound used for basic attacks with this weapon. More...
 
AudioClip BuffedSound
 The sound used for HR Buffed attacks with this weapon. More...
 
- Public Attributes inherited from Item
Sprite GUISprite
 The Sprite used to represent this item in the GUI. More...
 

Properties

override string Type [get]
 
override bool Equippable [get]
 
- Properties inherited from Item
string DisplayNameID [get]
 The Localization ID of the Item's actual name as it will appear in inventory/shops. More...
 
string DescriptionID [get]
 The Localization ID of the Item's description/flavour text. More...
 
virtual string Type [get]
 Derived classes should override this property with a relevant string used for comparisons related to how an item is treater by a vendor. It is kept as a string and not an Enum beacuse this type will often be sent as a net message and Enum's introduce type/case sensitivity. More...
 
virtual bool Equippable [get]
 Derived classes should override this property to return true if they are equippable. More...
 

Detailed Description

Derived class for storing Wiskin Defense weapons.

Definition at line 13 of file GuardianWeapon.cs.

Member Data Documentation

GuardianWeaponType GuardianWeapon.AttackStyle

What attack style this weapon is (Melee vs. Ranged).

Definition at line 18 of file GuardianWeapon.cs.

AudioClip GuardianWeapon.BasicSound

The sound used for basic attacks with this weapon.

Definition at line 30 of file GuardianWeapon.cs.

AudioClip GuardianWeapon.BuffedSound

The sound used for HR Buffed attacks with this weapon.

Definition at line 34 of file GuardianWeapon.cs.

Sprite GuardianWeapon.PrimarySprite

The primary sprite.

Definition at line 22 of file GuardianWeapon.cs.

GameObject GuardianWeapon.Projectile

The projectile this weapon fires if it is a Ranged weapon.

Definition at line 26 of file GuardianWeapon.cs.


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