com.tootsville
Class UserMessages
java.lang.Object
com.tootsville.UserMessages
- All Implemented Interfaces:
- UserMessages
public final class UserMessages
- extends Object
- implements UserMessages
This class contains static string methods to obtain all of the user-visible
strings in the game.
In future, this could handle multiple languages, dynamic changes to the
strings (loading them from a configuration source) and so forth. For now,
it's just collecting them all in once place, at least.
- Author:
- brpocock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserMessages
public UserMessages()
formatFutureDate
public static String formatFutureDate(Date targetDate)
- Deprecated. Use
Messages.formatFutureDate(Date)
instead
- Format a date into a user-friendly visible object relative to "now."
- Parameters:
targetDate
- the date (in the future)
- Returns:
- a user-visible string form
loggedOut
public static String loggedOut()
loginNameOrPassword
public static final String loginNameOrPassword()
red5userNotFound
public static String red5userNotFound()
welcomeIn
public static final String welcomeIn()
youAreKickedUntil
public static final String youAreKickedUntil()
yourAccountIsClosed
public static final String yourAccountIsClosed()