diff --git a/TODO.md b/TODO.md index 7104d29..4190d80 100644 --- a/TODO.md +++ b/TODO.md @@ -63,7 +63,9 @@ ## UI -- Immediate mode API. +- Basic widgets (button, label, text input) +- Layout +- Input propagation - Styling. - Basic input elements (button, text field, toggle). - Containers (vertical and horizontal). diff --git a/TestGame/TestGame.cs b/TestGame/TestGame.cs index 0400abf..f8bba52 100644 --- a/TestGame/TestGame.cs +++ b/TestGame/TestGame.cs @@ -16,10 +16,9 @@ public class TestGame : Game { InitializeSystemsDefault(); - _audioSystem = new OpenALSystem(); _particleSystem = new ParticleSystem(); - AddSystemToUpdate(_audioSystem); + // AddSystemToUpdate(_audioSystem); AddSystemToUpdate(_particleSystem); } @@ -57,9 +56,8 @@ public class TestGame : Game { if (Input.IsActionPressed("reload")) { - // ResourceManager.Reload(); - // _particleSystem!.RestartEmitter(_emitterId); - _audioSystem.PlaySound(_sound.Value, 1.0f); + ResourceManager.Reload(); + _particleSystem!.RestartEmitter(_emitterId); } if (Input.KeyboardKeyJustPressed(KeyboardKey.One)) @@ -109,7 +107,6 @@ public class TestGame : Game } [NotNull] private ParticleSystem _particleSystem; - private OpenALSystem _audioSystem; private int _emitterId; private ResourceRef _fireEffect; private ResourceRef _font;