blob: 2001e89a1f198dc059da8f5fe08c6d4219313913 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef COMPONENTS_WANDER_HPP_
#define COMPONENTS_WANDER_HPP_
/**
* Causes the entity to wander about.
*/
struct Wander {
Wander(float ix = 0, float r = 0)
: initialX(ix), range(r), countdown(0) {}
float initialX;
float range;
int countdown;
};
#endif // COMPONENTS_WANDER_HPP_
|