Ignore:
Timestamp:
06/18/10 08:47:47 (9 years ago)
Author:
beliar
Message:

Renaming Controller to GameModel? to reflect its purpose.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • branches/code-cleanup-and-refactoring/game/scripts/gamemodel.py

    r547 r548  
    2424import yaml 
    2525 
    26 class Controller(object): 
    27     """Controller holds the logic for the game. 
     26class GameModel(object): 
     27    """GameModel holds the logic for the game. 
    2828       Since some data (object position and so forth) is held in the 
    2929       fife, and would be pointless to replicate, we hold a instance of 
     
    135135        # create the extra data 
    136136        extra = {} 
    137         extra['engine'] = self 
     137        extra['controller'] = self 
    138138        attributes = self.checkAttributes(attributes) 
    139139         
     
    163163        if layer is not None: 
    164164            extra['agent_layer'] = layer 
    165         extra['engine'] = self 
     165        extra['controller'] = self 
    166166        attributes = self.checkAttributes(attributes) 
    167167         
Note: See TracChangeset for help on using the changeset viewer.