public void addTurnCommand ( int angle ) { StringBuilder buf = new StringBuilder ( ) ; buf . append ( "(turn " ) ; buf . append ( angle ) ; buf . append ( ' ' ) ; fifo . add ( fifo . size ( ) , buf . toString ( ) ) ; }
This command will turn the players body in degrees relative to their current direction .