Package tp :: Package netlib :: Package discover :: Module game :: Class Game
[show private | hide private]
[frames | no frames]

Type Game

object --+
         |
        Game


Method Summary
  __init__(self, name)
  __getattr__(self, key)
  __repr__(self)
  __str__(self)
  addLocation(self, type, addr)
  bestLocation(self)
  removeLocation(self, type, addr)
Removes a location (type, addr) from this game.
  updateOptional(self, optional)
  updateRequired(self, required)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name...
  __getattribute__(...)
x.__getattribute__('name') <==> x.name...
  __hash__(x)
x.__hash__() <==> hash(x)...
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle...
  __reduce_ex__(...)
helper for pickle...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value...

Class Variable Summary
tuple preference = ('tps', 'tp', 'tp+https', 'tp+http')

Method Details

removeLocation(self, type, addr=None)

Removes a location (type, addr) from this game.

Returns true is that was the last location.

Class Variable Details

preference

Type:
tuple
Value:
('tps', 'tp', 'tp+https', 'tp+http')                                   

Generated by Epydoc 2.1 on Fri Jan 1 08:00:27 2010 http://epydoc.sf.net