Changeset 120 for adventure/thing.py

Show
Ignore:
Timestamp:
10/15/07 20:47:32 (3 years ago)
Author:
elghinn
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • adventure/thing.py

    r119 r120  
    1414        self.UID = 0 
    1515        self.place = None 
    16         self.on_enter = list() 
    17         self.on_leave = list() 
     16        self.enters = list() 
     17        self.leaves = list() 
    1818 
    1919    def jid(self): 
     
    4242   
    4343    def on_enter(self, thing, from_): 
    44         for c in self.on_enter: 
     44        for c in self.enters: 
    4545            self.command(thing, c, [from_]) 
    4646 
    4747    def on_leave(self, thing, to): 
    48         for c in self.on_leave: 
     48        for c in self.leaves: 
    4949            self.command(thing, c, [to]) 
    5050