public void addDashCommand ( int power ) { StringBuilder buf = new StringBuilder ( ) ; buf . append ( "(dash " ) ; buf . append ( power ) ; buf . append ( ' ' ) ; fifo . add ( fifo . size ( ) , buf . toString ( ) ) ; }
This command accelerates the player in the direction of its body .