Saga
Saga Game Engine
Loading...
Searching...
No Matches
system.h
Go to the documentation of this file.
1#pragma once
2#include <functional>
3#include <memory>
4
5namespace Saga {
6 class GameWorld;
7
13 template <typename ...DataType>
14 using System = std::function<void(std::shared_ptr<GameWorld>, DataType...)>;
15}
Definition: app.cpp:8
std::function< void(std::shared_ptr< GameWorld >, DataType...)> System
System is a function that accepts a shared_ptr to a GameWorld, as well as extra variables.
Definition: system.h:14