Created a primitive SoundSystem. Can play a sound with 'P' button. Using resourcemanager. Not using the created components yet.
This commit is contained in:
@@ -25,6 +25,10 @@
|
||||
#include "Network/Server.h"
|
||||
#include "Network/Client.h"
|
||||
|
||||
// Sound
|
||||
#include "Sound/SoundSystem.h"
|
||||
#include "Sound/EPlaySound.h"
|
||||
|
||||
|
||||
class Game
|
||||
{
|
||||
@@ -54,6 +58,9 @@ private:
|
||||
Network* m_ClientOrServer;
|
||||
bool m_IsClientOrServer = false;
|
||||
|
||||
// Sound
|
||||
SoundSystem* m_SoundSystem;
|
||||
|
||||
EventRelay<Game, Events::InputCommand> m_EInputCommand;
|
||||
bool debugOnInputCommand(const Events::InputCommand& e);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user