You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
415 B
C++
17 lines
415 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
|
|
|
|
Movement() : mLeftRight (0), mForwardBackward (0) {}
|
|
};
|
|
}
|
|
|
|
#endif
|