25 lines
546 B
C++
25 lines
546 B
C++
|
#ifndef LEVEL_HPP
|
||
|
#define LEVEL_HPP
|
||
|
|
||
|
#include "godot_cpp/classes/node3d.hpp"
|
||
|
#include "godot_cpp/variant/dictionary.hpp"
|
||
|
#include "godot_cpp/variant/string.hpp"
|
||
|
#include "godot_cpp/variant/transform3d.hpp"
|
||
|
|
||
|
namespace godot {
|
||
|
class Entrance;
|
||
|
|
||
|
class Level : public Node3D {
|
||
|
GDCLASS(Level, Node3D)
|
||
|
static void _bind_methods();
|
||
|
protected:
|
||
|
Dictionary entrances{};
|
||
|
public:
|
||
|
Transform3D get_entrance(String entranceName);
|
||
|
void add_entrance(Entrance *entrance);
|
||
|
void remove_entrance(Entrance *entrance);
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif // !LEVEL_HPP
|