Class ClassProperty
- Namespace
- DotTiled
- Assembly
- DotTiled.dll
Represents a class property.
public class ClassProperty : HasPropertiesBase, IHasProperties, IProperty<IList<IProperty>>, IProperty
- Inheritance
-
ClassProperty
- Implements
- Inherited Members
Properties
Name
The name of the property.
public required string Name { get; set; }
Property Value
PropertyType
The type of the class property. This will be the name of a custom defined type in Tiled.
public required string PropertyType { get; set; }
Property Value
Type
The type of the property.
public PropertyType Type { get; }
Property Value
Value
The properties of the class property.
public required IList<IProperty> Value { get; set; }
Property Value
Methods
Clone()
Clones the property, only used for copying properties when performing overriding with templates.
public IProperty Clone()
Returns
- IProperty
An identical, but non-reference-equal, instance of the same property.
GetProperties()
The properties attached to the object.
public override IList<IProperty> GetProperties()