Class "Weapon"
Info
You can get this class by using the following functions:
Example Code
| local weapon = Isaac.GetPlayer(0):GetWeapon(1)
|
Functions
ClearItemAnim ()
void ClearItemAnim ( int ItemID )
GetCharge ()
int GetCharge ( )
GetDirection ()
Vector GetDirection ( )
GetFireDelay ()
int GetFireDelay ( )
GetMaxFireDelay ()
int GetMaxFireDelay ( )
GetModifiers ()
int GetModifiers ( )
GetNumFired ()
int GetNumFired ( )
GetOwner ()
Entity GetOwner ( )
GetWeaponType ()
IsAxisAligned ()
boolean IsAxisAligned ( )
IsItemAnimFinished ()
boolean IsItemAnimFinished ( int ItemID )
PlayItemAnim ()
void PlayItemAnim ( int ItemID, Direction AnimDirection, Vector Position, float Charge )
SetCharge ()
void SetCharge ( int Charge )
SetFireDelay ()
void SetFireDelay ( float Delay )
SetHeadLockTime ()
void SetHeadLockTime ( int Time )
SetModifiers ()
void SetModifiers ( int modifiers )