Lugdunum  0.1.0
FreeMovement.inl
Go to the documentation of this file.
1 inline void FreeMovement::setTargetNode(lug::Graphics::Scene::Node& target) {
2  _target = ⌖
3 }
4 
5 inline void FreeMovement::setEventSource(lug::Window::Window& eventSource) {
6  _eventSource = &eventSource;
7  _lastMousePos = _eventSource->getMousePos();
8 }
const Math::Vec2i & getMousePos() const
Retrieves the mouses position.
Definition: Window.cpp:271
Class for window.
Definition: Window.hpp:59