BowItem
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
Extending ProjectileWeaponItem
BowItem extends ProjectileWeaponItem. That means all methods available in ProjectileWeaponItem are also available in BowItem
Implemented Interfaces
BowItem implements the following interfaces. That means all methods defined in these interfaces are also available in BowItem
Static Methods
Converts the given time to a power value between 0 and 1
Returns: the given time as a power value between 0 and 1
Return Type: float
Parameter | Type | Description |
---|---|---|
Parameter charge | Type int | Description The charge to convert |