Ignore:
Timestamp:
05/13/09 09:54:25 (11 years ago)
Author:
maximinus_parpg
Message:

All code now PEP-8 standard, with spaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PARPG/scripts/agents/agent.py

    r62 r67  
    2020class Agent(fife.InstanceActionListener): 
    2121    """Base class for all NPC's and the main character""" 
    22     # self.model,'PC',self.agent_layer 
    23     def __init__(self,agentName,layer): 
     22    def __init__(self, agentName, layer): 
    2423        # add this class for callbacks from fife itself 
    2524        fife.InstanceActionListener.__init__(self) 
    26         self.agentName=agentName 
    27         self.agent=layer.getInstance(agentName) 
     25        self.agentName = agentName 
     26        self.agent = layer.getInstance(agentName) 
    2827        self.agent.addActionListener(self) 
    2928 
Note: See TracChangeset for help on using the changeset viewer.