Package horizons :: Package world :: Module status :: Class InventoryFullStatus
[hide private]
[frames] | no frames]

Class InventoryFullStatus

source code

StatusIcon --+
             |
            InventoryFullStatus

Instance Methods [hide private]
 
__init__(self, instance, reslist) source code
    Inherited from StatusIcon
 
__str__(self) source code
Static Methods [hide private]
    Inherited from StatusIcon
 
get_sorting_key()
Use like this: sorted(mylist, key=mylist.get_sorting_key()) or mylist.sort(key=mylist.get_sorting_key())
source code
Class Variables [hide private]
  priority = 1200
hash(x)
  icon = 'as_inventory_full+idle+45'
hash(x)
  helptext = LazyT("The inventory of this building is full.")
Method Details [hide private]

__init__(self, instance, reslist)
(Constructor)

source code 
Parameters:
  • reslist - list of integers describing the resources
Overrides: StatusIcon.__init__