using System;
public class Program
{
bool isMoving;
bool isMatched;
bool isAddedToMovingList;
Board board = new Board();
public static void Main()
Console.WriteLine("Hello World");
}
void Update()
if(isMoving || isMatched && !isAddedToMovingList)
isAddedToMovingList = true;
board.tilesThatAreMoving++;
public class Board
public int tilesThatAreMoving;
/*
ALternativt kan jeg hente inn lengden på listen som holder alle target tiles som har fysisk flyttet og legge det sammen med alle som har fått isMatched til true.
*/