Table of Contents

Class BoolProperty

Namespace
DotTiled
Assembly
DotTiled.dll

Represents a boolean property.

public class BoolProperty : IProperty<bool>, IProperty
Inheritance
BoolProperty
Implements
Inherited Members

Properties

Name

The name of the property.

public required string Name { get; set; }

Property Value

string

Type

The type of the property.

public PropertyType Type { get; }

Property Value

PropertyType

Value

The boolean value of the property.

public required bool Value { get; set; }

Property Value

bool

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.