25 lines
565 B
C
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
|
|
|
|
/// @}
|