mkRPG
 All Classes Namespaces Functions
Public Member Functions | Public Attributes | Static Public Attributes
plugins.chat.Chat Class Reference
Inheritance diagram for plugins.chat.Chat:
plugins.plugin.Plugin

List of all members.

Public Member Functions

def __init__
def serverMessage
def clientMessage

Public Attributes

 msgs

Static Public Attributes

string MSGID = "chat"

Detailed Description

Handles a minimalist chat plugin to be used in the game. 

Member Function Documentation

def plugins.chat.Chat.clientMessage (   self,
  msg 
)
Receives a message and appends it to the messages to be displayed.
Then, it repaints the screen in order to update the view of the chat.

Reimplemented from plugins.plugin.Plugin.

def plugins.chat.Chat.serverMessage (   self,
  msg 
)
Broadcasts a message on whole clients. 

Reimplemented from plugins.plugin.Plugin.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions