2024-01-31 20:01:22 +00:00
|
|
|
#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:
|
2024-02-02 07:48:07 +00:00
|
|
|
Transform3D get_entrance(String const &entranceName);
|
2024-01-31 20:01:22 +00:00
|
|
|
void add_entrance(Entrance *entrance);
|
|
|
|
void remove_entrance(Entrance *entrance);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // !LEVEL_HPP
|