net.sourceforge.simplegamenet.framework.model
Class ChatMessage

java.lang.Object
  extended bynet.sourceforge.simplegamenet.framework.model.ChatMessage
All Implemented Interfaces:
Serializable

public class ChatMessage
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static int GAME_MESSAGE
           
static int PLAYER_EMOTE
           
static int PLAYER_MESSAGE
           
static int SYSTEM_MESSAGE
           
 
Constructor Summary
ChatMessage(int type, String message)
           
ChatMessage(int type, String message, Integer playerID)
           
 
Method Summary
static String filterString(String string)
           
 String getMessage()
           
 Integer getPlayerID()
           
 int getType()
           
 void setMessage(String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYSTEM_MESSAGE

public static final int SYSTEM_MESSAGE
See Also:
Constant Field Values

GAME_MESSAGE

public static final int GAME_MESSAGE
See Also:
Constant Field Values

PLAYER_MESSAGE

public static final int PLAYER_MESSAGE
See Also:
Constant Field Values

PLAYER_EMOTE

public static final int PLAYER_EMOTE
See Also:
Constant Field Values
Constructor Detail

ChatMessage

public ChatMessage(int type,
                   String message)

ChatMessage

public ChatMessage(int type,
                   String message,
                   Integer playerID)
Method Detail

filterString

public static String filterString(String string)

getType

public int getType()

getMessage

public String getMessage()

setMessage

public void setMessage(String message)

getPlayerID

public Integer getPlayerID()


Copyright © 2003-2004 The 3 Belgians. All Rights Reserved.