Exemple #1
0
        public Program()
        {
            new Earth(new Vector2D(0.4f, 0.5f));
            var secondEarth = new Earth(new Vector2D(0.6f, 0.5f));

            new Command(Command.Click, () => secondEarth.IsPlaying = !secondEarth.IsPlaying);
        }
Exemple #2
0
		public Program()
		{
			new Earth(new Vector2D(0.4f, 0.5f));
			var secondEarth = new Earth(new Vector2D(0.6f, 0.5f));
			new Command(Command.Click, () => secondEarth.IsPlaying = !secondEarth.IsPlaying);
		}