aboutsummaryrefslogtreecommitdiff
path: root/src/game/generation_tracker.cpp
blob: 0e137cb7704ab9b35cd4bea3aae863d5f01a086c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "generation_tracker.hpp"

GenerationTracker::GenerationTracker(bool is_paused) noexcept : _is_paused(is_paused) {}

uint32_t GenerationTracker::get_current_generation() const noexcept
{
	return _current_generation;
}

bool GenerationTracker::get_is_paused() const noexcept
{
	return _is_paused;
}

void GenerationTracker::set_is_paused(bool is_paused) noexcept
{
	_is_paused = is_paused;
}