skizzle/src/state.cpp

30 lines
591 B
C++
Raw Normal View History

#include "state.hpp"
#include "manager.hpp"
2016-03-28 18:02:23 +00:00
State::State(Manager& manager) : manager(manager) {}
State::~State() {}
2016-04-09 00:32:11 +00:00
Manager& State::getManager() {
return manager;
}
const Manager& State::getManager() const {
return manager;
}
ResourceManager& State::getResourceManager() {
return manager.getResourceManager();
}
const ResourceManager& State::getResourceManager() const {
return manager.getResourceManager();
}
sf::RenderWindow& State::getWindow() {
return manager.getWindow();
}
const sf::RenderWindow& State::getWindow() const {
return manager.getWindow();
}