Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef STATE_H
- #define STATE_H
- #include <string>
- #include <iostream>
- class State
- {
- public:
- virtual ~State() { };
- virtual void OnEnter() = 0;
- virtual void OnLeave() = 0;
- virtual bool OnUpdate(float elapsedTime) = 0;
- virtual void OnRender() = 0;
- virtual std::string NextState() = 0;
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement