2020-01-04 18:25:47 +01:00
|
|
|
//
|
|
|
|
// Created by karl on 04.01.20.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef ECSGAME_MOVEMENT_H
|
|
|
|
#define ECSGAME_MOVEMENT_H
|
|
|
|
|
|
|
|
struct Movement {
|
2020-01-07 13:10:23 +01:00
|
|
|
Movement(glm::vec3 speed) : speed(speed) {}
|
2020-01-04 18:25:47 +01:00
|
|
|
|
2020-01-07 13:10:23 +01:00
|
|
|
glm::vec3 speed;
|
2020-01-04 18:25:47 +01:00
|
|
|
|
2020-01-07 13:10:23 +01:00
|
|
|
glm::ivec3 moving;
|
2020-01-04 18:25:47 +01:00
|
|
|
|
2020-01-07 13:10:23 +01:00
|
|
|
glm::vec3 velocity;
|
2020-01-04 18:25:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //ECSGAME_MOVEMENT_H
|