Logo Search packages:      
Sourcecode: balazar3 version File versions  Download package

balazar3-0.1::tofu::Player Class Reference

Inheritance diagram for balazar3-0.1::tofu::Player:

balazar3-0.1::tofu::SavedInAPath balazar3-0.1::tofu::Unique

List of all members.


Detailed Description

Player

The Player class is used for representing the Player in server and single modes.
Player is responsible for creating the Player first Mobiles, and putting them in the right Levels.
Player can also stores Player stats, like score, that are managed on server-side.

You need to extend the Player class.

Definition at line 847 of file __init__.py.


Public Member Functions

def __init__
def __init__
def __repr__
def add_mobile
def availables
def delete
def discard
def dumps
def dumpsuid
def dumpsuid_or_none
def gen_uid
def gen_uid
def get
def get_filename
def get_or_create
def getbyuid
def killed
def load
def loaded
def login
def logout
def logout
def remove_mobile
def save
def set_filename
def undumpsuid

Public Attributes

 client
 filename
 mobiles
 password
 sock
 udp_address
 uid

Static Public Attributes

string DIRNAME = "players"

Private Attributes

 _filename

Static Private Attributes

dictionary _alls2 = {}

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index