Beispiel #1
0
 public void Attach(FallPiece piece)
 {
     if (grabPiece == null || !grabbing)
         grabPiece = piece;
 }
Beispiel #2
0
 public void Drop()
 {
     grabbing = false;
     grabPiece.Drop(this);
     grabPiece = null;
 }
 internal bool Match(FallPiece grabPiece)
 {
     return this.pieceID == grabPiece.pieceID;
 }