Class Character
In: lib/core/character.rb
Parent: GameObject
Character
GameObject
TopLevel

The Character class is the mother of all characters. Who’s their daddy?

Methods

describe   new   parse   sendto   show  

Attributes

account  [RW] 

Public Class methods

Create a new Character object IMPORTANT :Character objects must be marked nonswappable while connected!!!

      Otherwise we risk losing the contants of @account
name
The displayed name of the character.
acctid
The account id this character belongs to.
return
A handle to the new Character.

Public Instance methods

Event :describe

e
The event
return
Undefined

All command input routed through here and parsed.

m
The input message to be parsed
return
Undefined.

Sends a message to the character if they are connected.

s
The message string
return
Undefined.

Event :show

e
The event
return
Undefined

[Validate]