Class CustomProperty

java.lang.Object
de.gurkenlabs.litiengine.environment.tilemap.xml.CustomProperty
All Implemented Interfaces:
ICustomProperty

public class CustomProperty extends Object implements ICustomProperty
  • Constructor Details

    • CustomProperty

      public CustomProperty()
      Instantiates a new CustomProperty instance.

      The default type for a custom property is string if not explicitly specified.

    • CustomProperty

      public CustomProperty(String value)
      Instantiates a new CustomProperty instance.
      Parameters:
      value - The value of this custom property.
    • CustomProperty

      public CustomProperty(String type, String value)
      Instantiates a new CustomProperty instance.
      Parameters:
      type - The type of this custom property.
      value - The value of this custom property.
    • CustomProperty

      public CustomProperty(URL location)
      Instantiates a new CustomProperty instance.
      Parameters:
      location - The location of the file represented by this custom property.
    • CustomProperty

      public CustomProperty(ICustomProperty propertyToBeCopied)
      Instantiates a new CustomProperty instance by copying from the specified instance.
      Parameters:
      propertyToBeCopied - The property to be copied.
  • Method Details