17#ifndef _FGE_C_EVENTLIST_HPP_INCLUDED
18#define _FGE_C_EVENTLIST_HPP_INCLUDED
20#include "FastEngine/fge_extern.hpp"
21#include "FastEngine/C_event.hpp"
22#include <unordered_map>
48 bool add(std::string
const& name);
55 bool del(std::string
const& name);
70 std::unordered_map<std::string, fge::Event> g_events;
This class is used to manage events.
Definition C_eventList.hpp:37
fge::Event * get(std::string const &name)
Get an event from the list.
void delAll()
Remove all events from the list.
bool del(std::string const &name)
Remove an event from the list.
bool add(std::string const &name)
Add an event to the list.
This class is a wrapper for SDL events.
Definition C_event.hpp:59