Constructor
new Weapon(config)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
config |
ClubCrawler.Types.WeaponConfig | A weapon configuration |
Classes
Members
(static, constant) DEFAULT_WEAPON
- Source:
Methods
setTarget(newTarget)
- Source:
Description
Parameters:
Name | Type | Description |
---|---|---|
newTarget |
Object | the game object to target (must have x and y) |