@@ -1537,43 +1537,39 @@ public List<TilePosition> getStartLocations() {
15371537
15381538 /**
15391539 * Prints text to the screen as a notification. This function allows text
1540- * formatting using Text members. The behaviour of this function is the same as printf,
1541- * located in header cstdio.
1540+ * formatting using Text members.
15421541 *
15431542 * @note That text printed through this function is not seen by other players or in replays.
15441543 *
1545- * @param format Text formatting. See std#printf for more information. Refrain from passing non-constant strings directly in this parameter.
1546- * @param ... The arguments that will be formatted using the given text formatting.
1544+ * @param string String to print.
15471545 *
1548- * @see Text, std#printf
1546+ * @see Text
15491547 */
15501548 public void printf (final String string ) {
15511549 addCommand (Printf , client .addString (string ), 0 );
15521550 }
15531551
15541552 /**
1555- * Sends a text message to all other players in the game. The behaviour of
1556- * this function is the same as std#printf, located in header cstdio.
1553+ * Sends a text message to all other players in the game.
15571554 *
15581555 * @note In a single player game this function can be used to execute cheat codes.
15591556 *
1560- * @param format Text formatting. See std#printf for more information. Refrain from passing non-constant strings directly in this parameter .
1557+ * @param string String to send .
15611558 *
1562- * @see sendTextEx, std#printf
1559+ * @see sendTextEx
15631560 */
15641561 public void sendText (final String string ) {
15651562 addCommand (SendText , client .addString (string ), 0 );
15661563 }
15671564
15681565 /**
15691566 * An extended version of Game#sendText which allows messages to be forwarded to
1570- * allies. The behaviour of this function is the same as std#printf, located in
1571- * header cstdio.
1567+ * allies.
15721568 *
15731569 * @param toAllies If this parameter is set to true, then the message is only sent to allied players, otherwise it will be sent to all players.
1574- * @param format Text formatting. See std#printf for more information. Refrain from passing non-constant strings directly in this parameter .
1570+ * @param string String to send .
15751571 *
1576- * @see sendText, std#printf
1572+ * @see sendText
15771573 */
15781574 public void sendTextEx (final boolean toAllies , final String string ) {
15791575 addCommand (SendText , client .addString (string ), toAllies ? 1 : 0 );
0 commit comments