Exemple #1
0
    public void refreshGravCubes(Gravity cube)
    {
        //Remove a cube given in parameter from the list
        List <Gravity> newGravCubes = new List <Gravity>();

        foreach (var g in gravCubes)
        {
            if (cube.Equals(g))
            {
                newGravCubes.Remove(g);
            }
        }
    }