Lugdunum
0.1.0
include
lug
Core
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
}
lug::Window::Window::getMousePos
const Math::Vec2i & getMousePos() const
Retrieves the mouses position.
Definition:
Window.cpp:271
lug::Graphics::Scene::Node
Definition:
Node.hpp:27
lug::Window::Window
Class for window.
Definition:
Window.hpp:59
Generated by
1.8.13