Add and implement interfaces for systems (ISystem, IUpdatableSystem, etc.), move Color to Utils, rename Handlers/Renderers/Backends to System, move input related classes to an Input subfolder.

This commit is contained in:
2024-10-14 17:29:52 +02:00
parent 5227c390a1
commit f68f8f4b02
34 changed files with 189 additions and 143 deletions

View File

@@ -0,0 +1,48 @@
namespace Voile.Audio
{
/// <summary>
/// Dummy audio system.
/// </summary>
public class DummyAudioSystem : AudioSystem
{
public override void AddBusEffect<T>(T effect, string bus = "Master")
{
return;
}
public override void CreateBus(string busName)
{
return;
}
public override float GetBusVolume(string busName)
{
return 0.0f;
}
protected override void Initialize()
{
return;
}
public override void SetBusVolume(string busName, float volume)
{
return;
}
protected override void Shutdown()
{
return;
}
protected override void Update()
{
return;
}
public override void PlaySound(Sound sound, float pitch, float volume, string bus = "Master")
{
return;
}
}
}