libikarus/include/ikarus/objects/properties/toggle_property.h
Folling a791dccfd9
split property & values into separate classes and files
Signed-off-by: Folling <mail@folling.io>
2025-04-15 12:07:59 +02:00

25 lines
565 B
C

#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
/// @}