OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
spelldefinitions.h
Go to the documentation of this file.
1#pragma once
2
3#include <zenkit/DaedalusVm.hh>
4#include <zenkit/addon/daedalus.hh>
5
6class SpellDefinitions final {
7 public:
8 SpellDefinitions(zenkit::DaedalusVm &vm);
10
11 const zenkit::ISpell& find(std::string_view instanceName) const;
12
13 private:
14 zenkit::DaedalusVm& vm;
15 std::vector<std::shared_ptr<zenkit::ISpell>> spl;
16 };
const zenkit::ISpell & find(std::string_view instanceName) const