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