Exemple #1
0
 public LEDCore(string port, int baudRate, Animation animation)
     : this(port, animation)
 {
     this.BaudRate = baudRate;
 }
Exemple #2
0
 public void PlayAsync(Animation animation)
 {
     Console.WriteLine (animation.Name + " is now playing");
     animation.Play ();
 }
Exemple #3
0
 public LEDCore(string port, Animation animation)
     : this()
 {
     this.Port = port;
     this.Animations.Add (animation);
 }
Exemple #4
0
 public void Play(Animation animation)
 {
     Console.WriteLine (animation.Name + " is now playing");
     animation.Play ();
     animation.PlayThread.Join ();
 }