Ejemplo n.º 1
0
 /// <summary>Called when the loading progress has changed</summary>
 /// <param name="sender">Game state whose loading progress has changed</param>
 /// <param name="arguments">Contains the new loading progress</param>
 private void progressChanged(object sender, LoadProgressEventArgs arguments)
 {
     OnLoadProgressChanged(arguments.Progress);
 }
Ejemplo n.º 2
0
        public void TestIntegerArgument()
        {
            LoadProgressEventArgs test = new LoadProgressEventArgs(0.12345f);

            Assert.AreEqual(0.12345f, test.Progress);
        }
 public void TestIntegerArgument() {
   LoadProgressEventArgs test = new LoadProgressEventArgs(0.12345f);
   Assert.AreEqual(0.12345f, test.Progress);
 }