Crossfire Server, Trunk
CFCampfire.CFCampfire Class Reference
+ Collaboration diagram for CFCampfire.CFCampfire:

Public Member Functions

def get_story (self)
 
def say (self)
 
def timer (self)
 

Detailed Description

Main handling class.

Definition at line 30 of file CFCampfire.py.

Member Function Documentation

◆ get_story()

def CFCampfire.CFCampfire.get_story (   self)
Returns a random story from the stories directory, internal use.

Definition at line 59 of file CFCampfire.py.

Referenced by CFCampfire.CFCampfire.say().

+ Here is the caller graph for this function:

◆ say()

def CFCampfire.CFCampfire.say (   self)
Called when the player talks to the firecamp.

Definition at line 33 of file CFCampfire.py.

References CFCampfire.CFCampfire.get_story().

+ Here is the call graph for this function:

◆ timer()

def CFCampfire.CFCampfire.timer (   self)
Called when the firecamp's timer expire. Sends more of the story.

Definition at line 65 of file CFCampfire.py.

References make_face_from_files.int, CFBank.open(), split(), and make_face_from_files.str.

+ Here is the call graph for this function:

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