summaryrefslogtreecommitdiff
path: root/plugins/hello_gdextension/src/main/cpp/gdexample.h
blob: 6add085f3d7d150c3b234dfedf47a018795050be (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
#ifndef GDEXAMPLE_H
#define GDEXAMPLE_H

#include <godot_cpp/classes/sprite2d.hpp>

namespace godot {

class GDExample : public Sprite2D {
    GDCLASS(GDExample, Sprite2D)

private:
    double time_passed;

protected:
    static void _bind_methods();

public:
    GDExample();
    ~GDExample();

    void _process(double delta) override;
};
}

#endif // GDEXAMPLE_H