1 #ifndef BLOBS_APP_APPLICATION_HPP_
2 #define BLOBS_APP_APPLICATION_HPP_
18 Application(const Application &) = delete;
19 Application &operator =(const Application &) = delete;
21 Application(Application &&) = delete;
22 Application &operator =(Application &&) = delete;
25 void PushState(State *);
27 State *SwitchState(State *);
29 bool HasState() const noexcept;
31 /// Loop until states is empty.
33 /// Evaluate a single frame of dt milliseconds.
35 /// Process all events in queue.
39 std::stack<State *> states;