aboutsummaryrefslogtreecommitdiff
path: root/extension/src/TestSingleton.hpp
blob: 1261573aeaa2c0f227ad48a08556519a8b961328 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include <godot_cpp/classes/object.hpp>

namespace OpenVic2 {
   class TestSingleton : public godot::Object
   {
      GDCLASS(TestSingleton, godot::Object)

      static TestSingleton* singleton;

   protected:
      static void _bind_methods();

   public:
      static TestSingleton* get_singleton();

      TestSingleton();
      ~TestSingleton();

      void hello_singleton();
   };
}