Mocks a device to speed up unit testing of sound effects and music.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Entities Entity
DeltaEngine.Multimedia SoundDevice
DeltaEngine.Multimedia.Mocks MockSoundDevice
Namespace: DeltaEngine.Multimedia.Mocks
Assembly: DeltaEngine.Multimedia.Mocks (in DeltaEngine.Multimedia.Mocks.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The MockSoundDevice type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MockSoundDevice | Initializes a new instance of the MockSoundDevice class |
Methods
Name | Description | |
---|---|---|
Add T | (Inherited from Entity.) | |
AddTag | (Inherited from Entity.) | |
ClearTags | (Inherited from Entity.) | |
Contains T | (Inherited from Entity.) | |
ContainsBehavior T | (Inherited from Entity.) | |
ContainsTag | (Inherited from Entity.) | |
Deactivate | (Inherited from Entity.) | |
Dispose | (Inherited from SoundDevice.) | |
Get T |
Gets a specific component, derived classes can return faster cached values (e.g. Entity2D)
View code on GitHub (Inherited from Entity.) | |
GetActiveBehaviors | (Inherited from Entity.) | |
GetComponentsForSaving | (Inherited from Entity.) | |
GetOrDefault T | (Inherited from Entity.) | |
GetTags | (Inherited from Entity.) | |
RapidUpdate | (Inherited from SoundDevice.) | |
RegisterCurrentMusic | (Inherited from SoundDevice.) | |
RegisterCurrentVideo | (Inherited from SoundDevice.) | |
Remove T | (Inherited from Entity.) | |
RemoveTag | (Inherited from Entity.) | |
Set | (Inherited from Entity.) | |
SetComponents | (Inherited from Entity.) | |
Start T | (Inherited from Entity.) | |
Stop T | (Inherited from Entity.) | |
ToString | (Inherited from Entity.) | |
TryLoadMusicStream | (Overrides SoundDevice TryLoadMusicStream(Stream, String).) |
Fields
Name | Description | |
---|---|---|
components | (Inherited from Entity.) |
Properties
Name | Description | |
---|---|---|
IsActive | (Inherited from Entity.) | |
IsInitialized | ||
IsPauseable | (Inherited from SoundDevice.) | |
MusicVolume | (Inherited from SoundDevice.) | |
NumberOfComponents | (Inherited from Entity.) | |
UpdatePriority | (Inherited from Entity.) |
See Also