public void addMoveBallCommand ( double x , double y ) { StringBuilder buf = new StringBuilder ( ) ; buf . append ( "(move " ) ; buf . append ( "ball" ) ; // TODO Manual says the format...will implement this later. buf . append ( ' ' ) ; buf . append ( x ) ; buf . append ( ' ' ) ; buf . append ( y ) ; buf . append ( ' ' ) ; fifo . add ( fifo . size ( ) , buf . toString ( ) ) ; }
Trainer only command . Moves the ball to the given coordinates .