mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2025-02-16 07:05:14 +01:00
28 lines
718 B
Text
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;
|
|
}
|