rotating the game world

so i was thinking about creating a game where if you touched the screen (or a button) everything in the world except your player would rotate 90 degrees. how would i do this? would i link everything but my actor to a game attribute where if turned to 1, 2, 3, or 4 they would all rotate a certain way?
Comments
http://www.deepblueapps.com/Deep_Blue_Ideas_Ltd./GSTemplateFFU.html
When att_ = 1
And touch is pressed or whatever
Change attribute _ back to 0 (or change whatever attributes or rules)
So have one for 0 and one for 1 to change it back.
Hope that helps