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