Module ...
Module that handles multiplayer chats
Functions
_M:init () | Creates the log zone |
_M:resize (x, y, w, h, fontname, fontsize, color, bgcolor) | Resize the display area |
_M:scrollUp (i) | Scroll the zone |
_M:setupOnGame () | Hook up in the current running game |
_M:showUserInfo (login) | Display user infos |
_M:talkBox () | Request a line to send TODO: make it better than a simple dialog |
Functions
- _M:init ()
- Creates the log zone
- _M:resize (x, y, w, h, fontname, fontsize, color, bgcolor)
-
Resize the display area
Parameters
- x:
- y:
- w:
- h:
- fontname:
- fontsize:
- color:
- bgcolor:
- _M:scrollUp (i)
-
Scroll the zone
Parameters
- i: number representing how many lines to scroll
- _M:setupOnGame ()
- Hook up in the current running game
- _M:showUserInfo (login)
-
Display user infos
Parameters
- login:
- _M:talkBox ()
- Request a line to send TODO: make it better than a simple dialog