public void addChangePlayModeCommand ( PlayMode playMode ) { StringBuilder buf = new StringBuilder ( ) ; buf . append ( "(change_mode " ) ; buf . append ( playMode ) ; buf . append ( ' ' ) ; fifo . add ( fifo . size ( ) , buf . toString ( ) ) ; }
Trainer only command . Changes the play mode of the server .