Simple C++ Game
Event.hpp
1 #pragma once
2 
3 #include <string>
4 
9 class Event
10 {
11 public:
19  Event(std::string type);
20 
26  std::string getType() const;
27 
28 private:
29  std::string _type;
30 };
A class representing an event that has occurred.
Definition: Event.hpp:10
Event(std::string type)
Construct a new Event object.
std::string getType() const
Get the Type of the event.