Changed tile type to an enum