#pragma once /// \file toggle_property.h /// \author Folling #include #include /// \addtogroup properties Properties /// @{ IKARUS_BEGIN_HEADER /// \brief Toggle properties store a value that can be either true or false. (e.g. "Is the character dead?") struct IkarusToggleProperty; /// \brief Creates a toggle property. /// \param project The project to create the property in. /// \pre \li Must not be null. /// \pre \li Must exist. /// \param name The name of the property. /// \pre \li Must not be null. /// \param property_source The property source to create the property for. /// \pre \li Must not be null. /// \pre \li Must exist. /// \param error_out \see errors.h /// \return The created property or null if an error occurs. IKA_API IkarusToggleProperty * ikarus_toggle_property_create( struct IkarusProject * project, char const * name, struct IkarusPropertySource * property_source, IkarusErrorData * error_out ); IKARUS_END_HEADER /// @}