Pixel-Composer/scripts/BBMOD_Property/bbmod_property.gml
2023-04-23 16:47:33 +02:00

28 lines
718 B
Text

/// @func BBMOD_Property(_name, _type)
///
/// @extends BBMOD_Class
///
/// @desc A descriptor of a serializable property.
///
/// @param {String} _name The name of the property.
/// @param {Real} _type The type of the property. Use values from
/// {@link BBMOD_EPropertyType}.
///
/// @see BBMOD_EPropertyType
function BBMOD_Property(_name, _type)
: BBMOD_Class() constructor
{
BBMOD_CLASS_GENERATED_BODY;
/// @var {String} The name of the property.
Name = _name;
/// @var {Real} The type of the property. Use values from
/// {@link BBMOD_EPropertyType}.
/// @see BBMOD_EPropertyType
Type = _type;
/// @var {Bool} If `true` then the property is private. Default value is
/// `false`.
Private = false;
}