class Scar::Tiled::Property
- Scar::Tiled::Property
- Reference
- Object
Included Modules
- JSON::Serializable
- JSON::Serializable::Strict
Defined in:
scar/tiled_map.crConstructors
Instance Method Summary
- #name : String
- #name=(name : String)
- #type : String
- #type=(type : String)
-
#value : String | Int32 | Float32 | Bool
TODO use type field as in https://crystal-lang.org/api/1.1.1/JSON/Serializable.html#use_json_discriminator(field,mapping)-macro
-
#value=(value : String | Int32 | Float32 | Bool)
TODO use type field as in https://crystal-lang.org/api/1.1.1/JSON/Serializable.html#use_json_discriminator(field,mapping)-macro
Constructor Detail
Instance Method Detail
def value : String | Int32 | Float32 | Bool
#
TODO use type field as in https://crystal-lang.org/api/1.1.1/JSON/Serializable.html#use_json_discriminator(field,mapping)-macro
def value=(value : String | Int32 | Float32 | Bool)
#
TODO use type field as in https://crystal-lang.org/api/1.1.1/JSON/Serializable.html#use_json_discriminator(field,mapping)-macro