![]() |
naev 0.12.5
|
Represents stuff that can be gathered. More...
#include <gatherable.h>

Data Fields | |
| const Commodity * | type |
| vec2 | pos |
| vec2 | vel |
| double | timer |
| double | lifeleng |
| int | quantity |
| int | sx |
| int | sy |
| int | player_only |
Represents stuff that can be gathered.
Definition at line 14 of file gatherable.h.
| double Gatherable::lifeleng |
nb of seconds before de-spawn.
Definition at line 19 of file gatherable.h.
| int Gatherable::player_only |
Can only be gathered by player.
Definition at line 23 of file gatherable.h.
| vec2 Gatherable::pos |
Position.
Definition at line 16 of file gatherable.h.
| int Gatherable::quantity |
Quantity of material.
Definition at line 20 of file gatherable.h.
| int Gatherable::sx |
X sprite to use.
Definition at line 21 of file gatherable.h.
| int Gatherable::sy |
Y sprite to use.
Definition at line 22 of file gatherable.h.
| double Gatherable::timer |
Timer to de-spawn the gatherable.
Definition at line 18 of file gatherable.h.
| const Commodity* Gatherable::type |
Type of commodity.
Definition at line 15 of file gatherable.h.
| vec2 Gatherable::vel |
Velocity.
Definition at line 17 of file gatherable.h.