Changeset 198 for traintris/gameboard.py

Show
Ignore:
Timestamp:
05/23/2012 01:57:42 PM (2 years ago)
Author:
andefodahl
Message:

works now x(

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • traintris/gameboard.py

    r194 r198  
    342342                    o = self.grid[i][j].isUsable() 
    343343                    for z in range(len(self.foodType)): 
    344      
    345      
    346                         if self.foodType[z][0] == k and o: 
    347      
     344 
     345                        if self.foodType[z][0] == k and o:     
    348346                            self.grid[i][j].changeStatus() 
    349347                            self.grid[i][j].eatenRow = row 
     
    357355                            self.grid[i][j].organism.food = self.foodType[z][1] 
    358356                            foodsources += self.foodType[z][1] 
    359  
    360357 
    361358                        elif self.foodType[z][0] == k and self.stealFood( i, j ):