def create_decoration_entity(pos: Tuple[int, int], sprite: Sprite) -> DecorationEntity: return DecorationEntity(pos, sprite)
def serialize(decoration: DecorationEntity): return { "sprite": decoration.sprite.name, "position": decoration.get_position() }