le2d v0.4.7
2D game engine framework
 
Loading...
Searching...
No Matches
store.hpp
Go to the documentation of this file.
1#pragma once
3#include <klib/base_types.hpp>
4#include <gsl/pointers>
5
6namespace le::tweak {
7class IStore : public klib::Polymorphic {
8 public:
9 virtual void add_tweakable(std::string_view id, gsl::not_null<ITweakable*> tweakable) = 0;
10 virtual void remove_tweakable(std::string_view id) = 0;
11};
12} // namespace le::tweak
Definition store.hpp:7
virtual void remove_tweakable(std::string_view id)=0
virtual void add_tweakable(std::string_view id, gsl::not_null< ITweakable * > tweakable)=0
Definition parser.hpp:7