pvb-practice/src/level.hpp

25 lines
553 B
C++
Raw Normal View History

#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 const &entranceName);
void add_entrance(Entrance *entrance);
void remove_entrance(Entrance *entrance);
};
}
#endif // !LEVEL_HPP