2011-02-03 10:37:17 +00:00
|
|
|
#ifndef GAME_MWMECHANICS_MOVEMENT_H
|
|
|
|
#define GAME_MWMECHANICS_MOVEMENT_H
|
|
|
|
|
|
|
|
namespace MWMechanics
|
|
|
|
{
|
|
|
|
/// Desired movement for an actor
|
|
|
|
struct Movement
|
|
|
|
{
|
|
|
|
signed char mLeftRight; // 1: wants to move left, -1: wants to move right
|
|
|
|
signed char mForwardBackward; // 1:wants to move forward, -1: wants to move backward
|
2012-03-25 02:03:08 +00:00
|
|
|
signed char mUpDown;
|
2011-02-03 10:37:17 +00:00
|
|
|
|
2012-03-25 02:03:08 +00:00
|
|
|
Movement() : mLeftRight (0), mForwardBackward (0), mUpDown(0) {}
|
2011-02-03 10:37:17 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|