Source/Game.h
changeset 3 40d225cf9c43
parent 1 3eb7be1dd7b6
child 4 d781b00f3ed4
     1.1 --- a/Source/Game.h	Mon Mar 10 17:30:57 2008 -0700
     1.2 +++ b/Source/Game.h	Tue Mar 11 09:21:53 2008 -0700
     1.3 @@ -60,6 +60,10 @@
     1.4      Default implementation just calls -endTurn. */
     1.5  - (void) bit: (Bit*)bit movedFrom: (id<BitHolder>)src to: (id<BitHolder>)dst;
     1.6  
     1.7 +/** Called on mouse-down/touch of an *empty* BitHolder. Should return a Bit if
     1.8 +    it's OK to place a new Bit there; else nil. */
     1.9 +- (Bit*) bitToPlaceInHolder: (id<BitHolder>)holder;
    1.10 +
    1.11  /** Called instead of the above if a Bit is simply clicked, not dragged.
    1.12      Should return NO if the click is illegal (i.e. clicking an empty draw pile in a card game.)
    1.13      Default implementation always returns YES. */