-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
27 additions
and
38 deletions.
There are no files selected for viewing
17 changes: 0 additions & 17 deletions
17
Ion/Ion.Extensions.Assets.Abstractions/AssetTypes/IFontSet.cs
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
...s.Abstractions/AssetTypes/ISoundEffect.cs → ...Audio.Abstractions/Assets/ISoundEffect.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
using Ion.Extensions.Assets; | ||
namespace Ion.Extensions.Audio; | ||
|
||
namespace Ion.Extensions.Audio | ||
public interface IAudioManager | ||
{ | ||
public interface IAudioManager | ||
{ | ||
float MasterVolume { get; set; } | ||
float MasterVolume { get; set; } | ||
|
||
void Play(ISoundEffect soundEffect, float volume = 1f, float pitchShift = 0f); | ||
} | ||
void Play(ISoundEffect soundEffect, float volume = 1f, float pitchShift = 0f); | ||
} |
15 changes: 15 additions & 0 deletions
15
Ion/Ion.Extensions.Graphics.Abstractions/Assets/IFontSet.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System.Numerics; | ||
|
||
using Ion.Extensions.Assets; | ||
|
||
namespace Ion.Extensions.Graphics; | ||
|
||
public interface IFontSet : IAsset { } | ||
|
||
public interface IFont | ||
{ | ||
IFontSet FontSet { get; } | ||
float FontSize { get; } | ||
|
||
Vector2 MeasureString(string text); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters