implemented gameobject for tiles and doll