in TileMap we can use layers and one of them is the Object layer. but how is to use them to gave me his position?
with this code I can see the Position of the object, but it does not have 'a member named position'
let group:TMXObjectGroup = tileMap.groupNamed("Blocks")
let theObjects: [AnyObject] = group.objectsNamed("Wall")
for i in theObjects {
print(i)
}
So i can not save the Position in an Var or Let, how we can?