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