TypeOnlySerializer

TypeOnlySerializer

A serializer base that works for any piece defined only by its type. The key is just the typeId with no arguments (e.g. "Floor", "Wall", "Fire"). Subclasses implement create() (return a new instance) and tag().