SpriteCollision() public méthode

public SpriteCollision ( Character &name, SoundEffectInstance song6Inst, SoundEffectInstance song7Inst ) : void
name Character
song6Inst Microsoft.Xna.Framework.Audio.SoundEffectInstance
song7Inst Microsoft.Xna.Framework.Audio.SoundEffectInstance
Résultat void
Exemple #1
0
 public void SpriteCollisionTest()
 {
     Collision target = new Collision(); // TODO: Initialize to an appropriate value
     PrincessZelda name = null; // TODO: Initialize to an appropriate value
     PrincessZelda nameExpected = null; // TODO: Initialize to an appropriate value
     target.SpriteCollision(ref name);
     Assert.AreEqual(nameExpected, name);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
Exemple #2
0
 public void SpriteCollisionTest1()
 {
     Collision target = new Collision(); // TODO: Initialize to an appropriate value
     Character name = null; // TODO: Initialize to an appropriate value
     Character nameExpected = null; // TODO: Initialize to an appropriate value
     SoundEffectInstance song6Inst = null; // TODO: Initialize to an appropriate value
     SoundEffectInstance song7Inst = null; // TODO: Initialize to an appropriate value
     target.SpriteCollision(ref name, song6Inst, song7Inst);
     Assert.AreEqual(nameExpected, name);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }