Property Element

Property element acts as an "entity level variable". Property here means a value that describes the entity in some way.

Property element can be declared for any entity type.

Declaration

Required:

  • id string id of the element
  • type type of the element, set to property to declare a property element

Optional:

  • entity entity type the property will be associated with (default is region)
  • var var type for the property: number, string or bool (default is number)
  • val default starting value for the property (default is 0)