// ENUM lol class LayerType { static Tile { "tilelayer" } static Object { "objectgroup" } } class ObjectType { static PLAYER { "player" } static NPC { "npc" } static ENEMY { "enemy" } }