public NextGenerator() { bag = new CCPiece[7]; for (int i = 0; i < 7; i++) { bag[i] = (CCPiece)i; } index = 7; r = new Random(); }
public static extern void cc_add_next_piece_async(IntPtr bot, CCPiece piece);