| |
- Method resolution order:
- Player
- gobject.GObject
- __builtin__.object
Methods defined here:
- __del__(self)
- Called in the end of the game, or when the engines is otherwise ment to die.
Use for closing connections etc.
- hurry(self)
- Forces engines to move now, and sends a hurry message to nonlocal human players
- makeMove(self, history)
- Takes a history object, concidering the last move as an opponent move,
and returns a new moveobject with the players answer.
- offerDraw(self)
- Offers the player a draw. Should respond emiting a DRAW_ACCEPTION,
or simply do nothing
- setName(self, name)
- showBoard(self)
- Print the board as it the players sees it, e.g. in fen. Used for debugging only
- updateTime(self, secs, opsecs)
- Updates the player with the current remaining time as a float of seconds
Data and other attributes defined here:
- __gtype__ = <GType pychess+Players+Player+Player (156622032)>
Methods inherited from gobject.GObject:
- __cmp__(...)
- x.__cmp__(y) <==> cmp(x,y)
- __gobject_init__(...)
- __hash__(...)
- x.__hash__() <==> hash(x)
- __init__(...)
- x.__init__(...) initializes x; see x.__class__.__doc__ for signature
- __repr__(...)
- x.__repr__() <==> repr(x)
- chain(...)
- connect(...)
- connect_after(...)
- connect_object(...)
- connect_object_after(...)
- disconnect(...)
- disconnect_by_func(...)
- emit(...)
- emit_stop_by_name(...)
- freeze_notify(...)
- get_data(...)
- get_property(...)
- handler_block(...)
- handler_block_by_func(...)
- handler_disconnect(...)
- handler_is_connected(...)
- handler_unblock(...)
- handler_unblock_by_func(...)
- notify(...)
- set_data(...)
- set_property(...)
- stop_emission(...)
- thaw_notify(...)
Data and other attributes inherited from gobject.GObject:
- __dict__ = <dictproxy object>
- __gdoc__ = 'Object pychess+Players+Player+Player\n\nSignals fr...ead ()\n\nSignals from GObject:\n notify (GParam)\n\n'
- __grefcount__ = <attribute '__grefcount__' of 'gobject.GObject' objects>
- __new__ = <built-in method __new__ of GObjectMeta object>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
- props = <gobject.GProps object>
|