Skip to content

Instantly share code, notes, and snippets.

@Kojirion
Kojirion / SlidingConsole.cpp
Created July 30, 2016 09:47
Animating movement between two points with Thor - a SFML extension
#include <SFML/Graphics.hpp>
#include <Thor/Animations.hpp>
#include <Thor/Input.hpp>
#include <SFGUI/SFGUI.hpp>
#include <SFGUI/Widgets.hpp>
template <class Item>
void SetPosition(Item&, const sf::Vector2f&);
template <>