Changeset 184

Show
Ignore:
Timestamp:
05/22/2012 12:00:00 PM (2 years ago)
Author:
wnewbury
Message:

Added a class to constants for use in interpretation of clicks on panels

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • traintris/constants.py

    r153 r184  
    130130            if self.foodweb[i][0][0] == name: 
    131131                return i 
     132                 
     133class PanelList: 
     134    """ Class containing lists for use in interpreting clicks on panels""" 
     135    def __init__ 
     136    self.carnivoreList = ["Fox", "Falcon", "Lion", "Lynx", "Tiger", "Bear", "Wolf", "Snake"] 
     137    self.plantList = ["Trees", "Shrubs", "Bananas", "Grass", "Vegetables", "Berries"] 
     138    self.herbivoreList = ["Deer", "Sheep", "Rabbit", "Squirrel", "Cow", "Elephant", "Giraffe", "Rats"] 
     139     
    132140 
    133141