Create account / Log in

PlaceAt vs PlaceOrMerge

Discussion area for the development team.

Moderators: Tim M, uckelman

PlaceAt vs PlaceOrMerge

Postby danj3000 » June 12th, 2019, 6:07 pm


I'm using java to spawn some playing pieces from an imported team roster. I find the pieceSlot that matches, use the PieceCloner to expand the piece and all traits, and then add it to the Map.

However, I'm struggling to understand the difference between Map.placeAt, and Map.placeOrMerge. The former appears to work, but doesn't record later piece movements in the logFile correctly, whereas placeOrMerge seems to work fine.

Could an uber-vassaler explain the difference please?

Posts: 7
Joined: September 19th, 2017, 9:22 am

Return to Developers

Who is online

Users browsing this forum: No registered users and 1 guest