split property & values into separate classes and files

Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
folling 2023-11-21 15:10:43 +01:00 committed by Folling
parent f38ebeab14
commit e377340781
Signed by: folling
SSH key fingerprint: SHA256:S9qEx5WCFFLK49tE/LKnKuJYM5sw+++Dn6qJbbyxnCY
28 changed files with 700 additions and 269 deletions

View file

@ -0,0 +1,25 @@
#pragma once
/// \file toggle_property.h
/// \author Folling <folling@ikarus.world>
#include <ikarus/macros.h>
/// \addtogroup properties Properties
/// \brief Toggle properties store a value that can be either true or false. (e.g. "Is the character dead?")
/// @{
IKARUS_BEGIN_HEADER
struct IkarusToggleProperty;
IKA_API IkarusToggleProperty * ikarus_toggle_property_create(
struct IkarusProject * project,
char const * name,
struct IkarusPropertySource * property_source,
struct IkarusToggleSettings * settings
);
IKARUS_END_HEADER
/// @}