Changeset 485


Ignore:
Timestamp:
02/21/10 20:50:59 (10 years ago)
Author:
b0rland_parpg
Message:

Even more updates to accomodate for FIFE new version -- removing remaining references to getView()

Location:
trunk/game
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/editor/savers.py

    r367 r485  
    159159    def write_cameras(self): 
    160160        """Write out the cameras specified in a map""" 
    161         cameras = self.engine.getView().getCameras() 
     161        cameras = self.map.getCameras() 
    162162 
    163163        for cam in cameras: 
  • trunk/game/local_loaders/xmlmap.py

    r484 r485  
    424424            try: 
    425425                if view_port: 
    426                     cam = self.engine.getView().addCamera(str(id), \ 
     426                    cam = map.addCamera(str(id), \ 
    427427                                    map.getLayer(str(ref_layer_id)), \ 
    428428                                    fife.Rect(\ 
Note: See TracChangeset for help on using the changeset viewer.