Ryuclaw.Mac/Ryuclaw.Audio.Desktop/AbstractAudioSource.cs

31 lines
573 B
C#
Raw Normal View History

2023-08-28 16:38:06 +00:00
using System;
using System.Numerics;
using Ryuclaw.Shared.Audio;
namespace Ryuclaw.Audio.Desktop
{
public abstract class AbstractAudioSource : IAudioSource
{
private Vector3 _position { get; set; }
public AbstractAudioSource()
{
}
public abstract void Play();
public void SetPosition(Vector3 position)
{
_position = position;
}
public abstract void Stop();
public void Update(float dt)
{
throw new NotImplementedException();
}
}
}