hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/states/simulation_state.h
blob: 9a89fea82527b465fc12e6806ad60365b373fb85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once

#include "core/state.h"
#include "core/event.h"
#include "core/log.h"
#include "engine/engine.h"
#include <vector>

namespace Donut
{
    class SimulationState
        : public State
    {
    public:
        ~SimulationState() = default;
        
        void on_enter()                 override;
        void on_exit()                  override;
        void on_update(float delta_time) override;
        void on_render()                override;
        void on_im_ui_render()            override;
        void on_event(Event& event)     override;
    
    private:
        bool m_initialized = false;
    };
};