Changeset 302

Show
Ignore:
Timestamp:
03/26/2012 10:49:56 PM (2 years ago)
Author:
ecoughlan
Message:

More updates

Location:
src
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • src/gameData.py

    r299 r302  
    66 
    77import copy 
    8 from state import State 
    98from globals import * 
    109 
  • src/main.py

    r301 r302  
    134134 
    135135    transportDescription = description.Description("TRANSPORTATION", "you will unlock ... ", pygame.image.load(os.path.abspath(iconDir + 'transportation.png'))) 
    136     transportResearchDescription = researchDescription.ResearchDescription((550, 250),False, transportDescription) 
     136    transportResearchDescription = researchDescription.ResearchDescription((550, 250), False, transportDescription) 
    137137    transportResearchDescription.setYesResponse((newTop.research, 1)) 
    138138    researchTransportationDescription = description.Description('transportation', "This is where the text would go.", pygame.image.load(os.path.abspath(iconDir + "transportation.png"))) 
  • src/mainMenuButton.py

    r299 r302  
    1919                               self.pos[1] + (50 - XLG_TEXT) * .75), 
    2020                              text, XLG_TEXT, WHITE, 200, True)) 
    21  
  • src/state.py

    r300 r302  
    88 
    99from spec import Spec 
    10 from buildables import * 
    11 from window import Window 
    1210from buildables import buildingLUT 
    1311from globals import * 
     
    1614class State(): 
    1715    """ keeps track of stats, buildings that have been built and 
    18         research values"""  
     16        research values""" 
    1917    def __init__(self, newSpec): 
    2018        """ 
     
    2826        self.buildingsToAdd = [] 
    2927        self.currentResearch = [0, 0, 0] 
    30         for i in range(START_BLOCKS): 
     28        for _ in range(START_BLOCKS): 
    3129            self.currentBuildings.append([]) 
    3230            self.buildingsToAdd.append([])