/*
 * animation.fx
 *
 * Created on Dec 3, 2009, 4:50:51 PM
 */

package mdot_gui;

import javafx.animation.KeyFrame;
import javafx.animation.Timeline;
import com.sun.javafx.runtime.sequence.Sequence;
import javafx.scene.paint.Color;
import CommonFunctions.debugPrinter;



/**
 * @author Jamie Lynn
 */

public class animation {}

public function blink(nodestoBlink:Sequence){

        for(rects in nodestoBlink)
        {
            var tmp = rects as GUIControllerFlagStructure;
            tmp.setColor(Color.web(tmp.getNewColor()));
            
        }

        return;
}

public function reset(allRects:Sequence)
{

        for(rects in allRects)
        {
            var tmp = rects as GUIControllerFlagStructure;
            tmp.setColor(Color.BLACK);
        }

        return;

}