QcExperienceOrb Struct
A ball of experience lying or flying in the world (decision E-398); QcExperienceOrbManager moves, attracts, merges and ages them, and players collect them. More...
| Header: | #include <server/entities/QcExperienceOrb.h> |
| Inherits: | QcEntity |
Public Variables
| double | age |
| double | pickupDelay |
| bool | resting |
| int | value |
Static Public Members
| const QcEntityKind | entityKind |
Detailed Description
Member Variable Documentation
double QcExperienceOrb::age
Seconds it has lain in loaded chunks; it goes at QcExperienceOrbManager::despawnSeconds.
const QcEntityKind QcExperienceOrb::entityKind
The kind of every entity of this type (QcEntity::as).
double QcExperienceOrb::pickupDelay
Seconds before a player can collect it.
bool QcExperienceOrb::resting
Lying still with no player near: skipped by physics until one comes or the block below changes.
int QcExperienceOrb::value
Experience points it gives; merged orbs add up.