Class: WeaponEvent

HungryGames~ WeaponEvent


new WeaponEvent(outcomes [, consumable] [, name])

Create a basic weapon.
Parameters:
Name Type Argument Description
outcomes Array.<HungryGames~Event> All possible events in this weapon event.
consumable string <optional>
The formattable string for what to call this weapons consumable items.
name string <optional>
The formattable name for this weapon.
Source:

Members


<nullable> consumable :string

The formattable string for what to call this weapon's consumable items.
Type:
  • string
Source:

<nullable> name :string

The formattable string for what to call this weapon.
Type:
  • string
Source:

outcomes :Array.<HungryGames~Event>

All possible events for this weapon event.
Type:
Source: