textmode.h 778 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
#ifndef TEXTMODE_H
#define TEXTMODE_H

#include <base/GsEngine.h>

class Textmode : public GsEngine
{
public:

    /**
     * @brief start Usually this is started before anything else but still after construction.
     */
13
    bool start() override;
14 15 16 17 18

    /**
     * @brief pumpEvent Events like user closes windows or mouse presses are processed here.
     * @param evPtr
     */
19
    void pumpEvent(const CEvent *evPtr) override;
20 21 22 23 24

    /**
     * @brief ponder    Logic cycle run usually at 120 LPS
     * @param deltaT    how much time of logic to do
     */
Gerhard Stein's avatar
Gerhard Stein committed
25
    void ponder(const float deltaT) override;
26 27 28 29

    /**
     * @brief render Everything that needs to be rendered representing the current state of the object
     */
Gerhard Stein's avatar
Gerhard Stein committed
30
    void render() override;
31 32 33 34

};

#endif // TEXTMODE_H