adonthell-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Adonthell-commits] CVS: wastesedge/scripts/game_events speak.py,NONE,1.


From: Kai Sterker <address@hidden>
Subject: [Adonthell-commits] CVS: wastesedge/scripts/game_events speak.py,NONE,1.1
Date: Thu, 22 Aug 2002 12:20:55 -0400

Update of /cvsroot/adonthell/wastesedge/scripts/game_events
In directory subversions:/tmp/cvs-serv30058/scripts/game_events

Added Files:
        speak.py 
Log Message:
ADDED files that were missing

--- NEW FILE ---
#
#  (C) Copyright 2002 Kai Sterker <address@hidden>
#  Part of the Adonthell Project http://adonthell.linuxgames.com
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License.
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY.
#
#  See the COPYING file for more details
#

# -- Map Event for initiating dialogue with a character.

import adonthell

class speak:

    # Parameters:
    # speaker: name of character that shall speak
    def __init__ (self, eventinstance, speaker):
        self.speaker = adonthell.gamedata_get_character (speaker)
    
    def run (self, submap, x, y, dir, name):
        self.speaker.launch_action (adonthell.gamedata_player ())





reply via email to

[Prev in Thread] Current Thread [Next in Thread]