mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 21:29:18 +02:00
WIP
This commit is contained in:
11
entitysystem/systems/SoundSystem.h
Normal file
11
entitysystem/systems/SoundSystem.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include "BaseSystem.h"
|
||||
|
||||
// Drives SoundComponent: starts/stops sound_source playback and keeps
|
||||
// position, volume and pitch in sync with the entity's Transform.
|
||||
class SoundSystem : public BaseSystem
|
||||
{
|
||||
public:
|
||||
void Update(ECWorld& world, float dt) override;
|
||||
};
|
||||
Reference in New Issue
Block a user