Wave ToString Method Delta Engine Documentation

Namespace: DeltaEngine.GameLogic
Assembly: DeltaEngine.GameLogic (in DeltaEngine.GameLogic.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public override string ToString()

Return Value

Type: String
Remarks

Tests: DeltaEngine.GameLogic.Tests.WaveTests
Examples

1 unit tests call DeltaEngine.GameLogic.Wave.ToString
[Test]
public void CopyingWaveCopiesTheWaveData()
{
    var wave = new Wave(0.1f, 0.5f, "Cloth", "");
    var copiedWave = new Wave(wave);
    Assert.AreEqual("0.1, 0.5, 0, 1, Cloth", copiedWave.ToString());
}
See Also