Added support to randomize the current frame of an animation.

This will permit to avoid seeing the exact animations frames at the same time
when animated image is displayed on multiple screen area.

I also encapsulated more a member in the PhysicalObject class.