From: Deluge <ant...@us...> - 2013-07-30 18:03:27
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/entity/mapstuff/portal In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10646/src/games/stendhal/server/entity/mapstuff/portal Modified Files: PasswordPortal.java Log Message: Javadoc. Index: PasswordPortal.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/entity/mapstuff/portal/PasswordPortal.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** PasswordPortal.java 30 Jul 2013 01:23:42 -0000 1.4 --- PasswordPortal.java 30 Jul 2013 18:03:23 -0000 1.5 *************** *** 44,48 **** * creates a portal which requires a password to be said by the player * ! * @param password password to say */ public PasswordPortal(final String password) { --- 44,49 ---- * creates a portal which requires a password to be said by the player * ! * @param ! * password password to say */ public PasswordPortal(final String password) { *************** *** 53,57 **** * gets the password * ! * @return password */ public String getPassword() { --- 54,59 ---- * gets the password * ! * @return ! * password */ public String getPassword() { *************** *** 63,67 **** * * @return ! * List of players */ private List<Player> getNearbyPlayersThatHaveSpoken() { --- 65,69 ---- * * @return ! * List of players */ private List<Player> getNearbyPlayersThatHaveSpoken() { *************** *** 92,96 **** * gets the reject message * ! * @return reject message */ public String getRejectedMessage() { --- 94,99 ---- * gets the reject message * ! * @return ! * reject message */ public String getRejectedMessage() { *************** *** 131,137 **** /** * * @param message ! * Message to be sent to player when portal is used */ public void setAcceptedMessage(final String message) { --- 134,141 ---- /** + * Optional message to be sent to player when portal is successfully used * * @param message ! * Message to be sent */ public void setAcceptedMessage(final String message) { *************** *** 141,146 **** /** * ! * @param rad ! * Radius at which portal will listen for player's speech */ public void setListeningRadius(int radius) { --- 145,150 ---- /** * ! * @param radius ! * Radius at which portal will listen for player's speech */ public void setListeningRadius(int radius) { *************** *** 152,158 **** /** ! * sets the password * ! * @param password new password */ public void setPassword(final String password) { --- 156,163 ---- /** ! * sets the required password * ! * @param password ! * new password */ public void setPassword(final String password) { *************** *** 163,167 **** * sets the reject message * ! * @param message message informing the player about the failed condition */ public void setRejectedMessage(final String message) { --- 168,173 ---- * sets the reject message * ! * @param message ! * message informing the player about the failed condition */ public void setRejectedMessage(final String message) { |