Beispiel #1
0
        public override bool Equals(object obj)
        {
            InstantaneousFlip other = obj as InstantaneousFlip;

            if (other != null)
            {
                return(Flip == other.Flip);
            }
            return(false);
        }
Beispiel #2
0
        static FlipManager()
        {
            _flip      = new InstantaneousFlip(0);
            _timeLapse = 1000; //1sec
            _isStarted = false;

            _flipManagerThread = new Thread(Run)
            {
                Name         = "FlipManagerThread",
                IsBackground = true
            };

            _flipManagerThread.Start();
        }