summaryrefslogtreecommitdiff
path: root/tiledef.go
diff options
context:
space:
mode:
authoranon5 <anon5clam@protonmail.com>2021-06-22 16:30:50 +0000
committeranon5 <anon5clam@protonmail.com>2021-06-22 16:30:50 +0000
commitf967a747e4ae01fba3a6c3fd693d0e753faf3ae4 (patch)
tree22d628df079bb5cac93cc2338cfbe585ff8a2763 /tiledef.go
parent425da65ed46061303604610bb539d6495b2b1f3f (diff)
Add String methods to some types using stringer and fix some minor defects
Diffstat (limited to 'tiledef.go')
-rw-r--r--tiledef.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/tiledef.go b/tiledef.go
index 9a5714d..da6ab39 100644
--- a/tiledef.go
+++ b/tiledef.go
@@ -8,6 +8,8 @@ const (
UserAlign
)
+//go:generate stringer -type AlignType
+
type TileFlags uint16
const (
@@ -19,6 +21,8 @@ const (
TileAlign
)
+//go:generate stringer -type TileFlags
+
type TileDef struct {
//mt:const uint8(6)