'From Squeak3.8 of ''5 May 2005'' [latest update: #6665] on 30 August 2006 at 7:28:05 pm'! !Player methodsFor: 'scripts-standard' stamp: 'TJ 7/29/2006 14:09'! turn: degrees "Rotate the heading of the object by the given number of degrees" self setDegreesToTurn: degrees. degrees ifNil: [^ self]. degrees = 0 ifTrue: [^ self]. self setHeading: (self getHeading + degrees asFloat) \\ 360.0 ! !