mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2025-12-27 14:52:15 +01:00
19 lines
465 B
Python
19 lines
465 B
Python
"""Properties Module
|
|
|
|
This module defines types for Property objects.
|
|
For more about properties in Tiled maps see the below link:
|
|
https://doc.mapeditor.org/en/stable/manual/custom-properties/
|
|
|
|
The types defined in this module get added to other objects
|
|
such as Layers, Maps, Objects, etc
|
|
"""
|
|
|
|
from pathlib import Path
|
|
from typing import Dict, Union
|
|
|
|
from .common_types import Color
|
|
|
|
Property = Union[float, Path, str, bool, Color]
|
|
|
|
Properties = Dict[str, Property]
|