Update TODO, remove audio system from TestGame.
This commit is contained in:
4
TODO.md
4
TODO.md
@@ -63,7 +63,9 @@
|
|||||||
|
|
||||||
## UI
|
## UI
|
||||||
|
|
||||||
- Immediate mode API.
|
- Basic widgets (button, label, text input)
|
||||||
|
- Layout
|
||||||
|
- Input propagation
|
||||||
- Styling.
|
- Styling.
|
||||||
- Basic input elements (button, text field, toggle).
|
- Basic input elements (button, text field, toggle).
|
||||||
- Containers (vertical and horizontal).
|
- Containers (vertical and horizontal).
|
||||||
|
|||||||
@@ -16,10 +16,9 @@ public class TestGame : Game
|
|||||||
{
|
{
|
||||||
InitializeSystemsDefault();
|
InitializeSystemsDefault();
|
||||||
|
|
||||||
_audioSystem = new OpenALSystem();
|
|
||||||
_particleSystem = new ParticleSystem();
|
_particleSystem = new ParticleSystem();
|
||||||
|
|
||||||
AddSystemToUpdate(_audioSystem);
|
// AddSystemToUpdate(_audioSystem);
|
||||||
AddSystemToUpdate(_particleSystem);
|
AddSystemToUpdate(_particleSystem);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -57,9 +56,8 @@ public class TestGame : Game
|
|||||||
{
|
{
|
||||||
if (Input.IsActionPressed("reload"))
|
if (Input.IsActionPressed("reload"))
|
||||||
{
|
{
|
||||||
// ResourceManager.Reload();
|
ResourceManager.Reload();
|
||||||
// _particleSystem!.RestartEmitter(_emitterId);
|
_particleSystem!.RestartEmitter(_emitterId);
|
||||||
_audioSystem.PlaySound(_sound.Value, 1.0f);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Input.KeyboardKeyJustPressed(KeyboardKey.One))
|
if (Input.KeyboardKeyJustPressed(KeyboardKey.One))
|
||||||
@@ -109,7 +107,6 @@ public class TestGame : Game
|
|||||||
}
|
}
|
||||||
|
|
||||||
[NotNull] private ParticleSystem _particleSystem;
|
[NotNull] private ParticleSystem _particleSystem;
|
||||||
private OpenALSystem _audioSystem;
|
|
||||||
private int _emitterId;
|
private int _emitterId;
|
||||||
private ResourceRef<ParticleEmitterSettingsResource> _fireEffect;
|
private ResourceRef<ParticleEmitterSettingsResource> _fireEffect;
|
||||||
private ResourceRef<Font> _font;
|
private ResourceRef<Font> _font;
|
||||||
|
|||||||
Reference in New Issue
Block a user