Representation exposure on an int method This function exposes the value of worldSize, so it is a form of representation exposure: