Iterates through the given array and makes sure that each objects x and y properties are wrapped to keep them contained within the given Rectangles area.
An array of Game Objects. The contents of this array are updated by this Action.
The rectangle which the objects will be wrapped to remain within.
Optional
An amount added to each side of the rectangle during the operation. Default 0.
Iterates through the given array and makes sure that each objects x and y properties are wrapped to keep them contained within the given Rectangles area.