summary refs log tree commit diff stats
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/ponderable.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/ponderable.h b/src/components/ponderable.h index c0312b4..e6aa976 100644 --- a/src/components/ponderable.h +++ b/src/components/ponderable.h
@@ -5,6 +5,7 @@
5#include "component.h" 5#include "component.h"
6#include "entity_manager.h" 6#include "entity_manager.h"
7#include "vector.h" 7#include "vector.h"
8#include "direction.h"
8 9
9class PonderableComponent : public Component { 10class PonderableComponent : public Component {
10public: 11public:
@@ -84,11 +85,11 @@ public:
84 id_type ferry; 85 id_type ferry;
85 86
86 /** 87 /**
87 * The location of the body relative to the location of its ferry. 88 * The side of the ferry that the body is resting on, if there is one.
88 * 89 *
89 * @managed_by PonderingSystem 90 * @managed_by PonderingSystem
90 */ 91 */
91 vec2d rel = { 0.0, 0.0 }; 92 Direction ferrySide;
92 93
93 /** 94 /**
94 * The bodies that are being ferried by this body. 95 * The bodies that are being ferried by this body.