QcThrowableDefinition Struct
An item thrown by hand as its own projectile (a snowball, decision E-427): the use button throws one at once at speed, randomly turned by up to inaccuracyDegrees; the thrower waits cooldownSeconds before the next throw of that item. More...
| Header: | #include <common/content/items/QcProjectileDefinition.h> |
Public Variables
| double | cooldownSeconds |
| double | inaccuracyDegrees |
| double | speed |
Detailed Description
Reaches the client (arm swing, cooldown).
Member Variable Documentation
double QcThrowableDefinition::cooldownSeconds
Seconds before the next throw of the item ("cooldownSeconds", 0 to 60).
double QcThrowableDefinition::inaccuracyDegrees
Largest random turn of the throw, in degrees ("inaccuracyDegrees", 0 to 45).
double QcThrowableDefinition::speed
Throw speed in m/s ("speed", 1 to QcProjectileDefinition::maxSpeed).