-
-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
Description
I've noticed that in some cases you define default values for the struct interface. For example in the text unmarshal function
type Alias Text
item := Alias{
FontFamily: "sans-serif",
Size: 16,
Kerning: true,
HAlign: "left",
VAlign: "top",
}
What is the purpose of those defaults? I would like to use go-tiled as a tool to read/write Tiled files and these defaults may cause weird situations if they differ from what Tiled defines.
My preference is to display what is defined in the .tmx/.tsx files without modifications or assumptions. providing an easy interface for special values like layer tiles.
Thank you