R-Type
ControllableComponent.hpp
Go to the documentation of this file.
1 /*
2 ** EPITECH PROJECT, 2023
3 ** R-Type
4 ** File description:
5 ** ControllableComponent
6 */
7 
8 #ifndef CONTROLLABLECOMPONENT_HPP_
9 #define CONTROLLABLECOMPONENT_HPP_
10 #include "Keyboard.hpp"
11 
12 namespace GameEngine
13 {
15  {
20  float speed = 1.0f;
21  };
22 } // namespace GameEngine
23 
24 #endif /* !CONTROLLABLECOMPONENT_HPP_ */
Key
Definition: Keyboard.hpp:28
Definition: AssetManager.hpp:15
Definition: ControllableComponent.hpp:15
float speed
Definition: ControllableComponent.hpp:20
Input::Keyboard::Key key_right
Definition: ControllableComponent.hpp:19
Input::Keyboard::Key key_left
Definition: ControllableComponent.hpp:17
Input::Keyboard::Key key_down
Definition: ControllableComponent.hpp:18
Input::Keyboard::Key key_up
Definition: ControllableComponent.hpp:16