Logo Search packages:      
Sourcecode: uligo version File versions  Download package

def board1::Board::remove (   self,
  pos 
)

Remove the stone at pos, append this as capture to undostack. 

Reimplemented from board1::abstractBoard.

Definition at line 440 of file board1.py.

00440                          :
        """ Remove the stone at pos, append this as capture to undostack. """
        if self.status.has_key(pos):
            self.onChange()
            self.delete(self.stones[pos])
            del self.stones[pos]
            abstractBoard.remove(self, pos)
            self.update_idletasks()
            return 1
        else: return 0

    def placeLabel(self, pos, type, text=None, color=None, override=None):


Generated by  Doxygen 1.6.0   Back to index