mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 09:49:55 +00:00
17 lines
450 B
C++
17 lines
450 B
C++
#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
|
|
signed char mUpDown;
|
|
|
|
Movement() : mLeftRight (0), mForwardBackward (0), mUpDown(0) {}
|
|
};
|
|
}
|
|
|
|
#endif
|