mirror of
https://github.com/godotengine/godot-cpp-template.git
synced 2026-10-20 00:10:36 +00:00
21 lines
411 B
C++
21 lines
411 B
C++
#pragma once
|
|
|
|
#include "godot_cpp/classes/ref_counted.hpp"
|
|
#include "godot_cpp/classes/wrapped.hpp"
|
|
#include "godot_cpp/variant/variant.hpp"
|
|
|
|
using namespace godot;
|
|
|
|
class ExampleClass : public RefCounted {
|
|
GDCLASS(ExampleClass, RefCounted)
|
|
|
|
protected:
|
|
static void _bind_methods();
|
|
|
|
public:
|
|
ExampleClass() = default;
|
|
~ExampleClass() override = default;
|
|
|
|
void print_type(const Variant &p_variant) const;
|
|
};
|