Ignore:
Timestamp:
10/10/09 21:45:49 (10 years ago)
Author:
Kaydeth_parpg
Message:

Ticket #2: Patch by Kaydeth. Updated the rest of the classes in the scripts directory to correct some obvious discrepancies with our coding standard. Still need to go through the common and objects sub directories. comment[s:trac, t:2]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/common/eventlistenerbase.py

    r147 r313  
    2121    def __init__(self, engine, regKeys=False, regCmd=False, regMouse=False, regConsole=False, regWidget=False): 
    2222        """Initialise the instance""" 
    23         self.eventmanager = engine.getEventManager() 
     23        self.event_manager = engine.getEventManager() 
    2424 
    2525        fife.IKeyListener.__init__(self) 
    2626        if regKeys: 
    27             self.eventmanager.addKeyListener(self) 
     27            self.event_manager.addKeyListener(self) 
    2828        fife.ICommandListener.__init__(self) 
    2929        if regCmd: 
    30             self.eventmanager.addCommandListener(self) 
     30            self.event_manager.addCommandListener(self) 
    3131        fife.IMouseListener.__init__(self) 
    3232        if regMouse: 
    33             self.eventmanager.addMouseListener(self) 
     33            self.event_manager.addMouseListener(self) 
    3434        fife.ConsoleExecuter.__init__(self) 
    3535        if regConsole: 
Note: See TracChangeset for help on using the changeset viewer.