void DropAbove(JewelButton jb){ for(int i = jb.x; i >= 0; i--){ JewelButton job = GetJewelInCoordinates(i, jb.y); if(job!=null) job.Drop(); } }
public static TypeOfMatch CheckForMatch(JewelButton jb){ // //check next ones in row // //check next ones in column // //have an index that counts the number of stuffs return TypeOfMatch.None; }
void SwitchValues(JewelButton first,JewelButton second){ int auxx, auxy; auxy = first.y; auxx = first.x; first.x = second.x; first.y = second.y; second.x = auxx; second.y = auxy; }