Audio API first pass
This commit is contained in:
25
src/dawn/audio/_AudioManager.hpp
Normal file
25
src/dawn/audio/_AudioManager.hpp
Normal file
@ -0,0 +1,25 @@
|
||||
// Copyright (c) 2023 Dominic Masters
|
||||
//
|
||||
// This software is released under the MIT License.
|
||||
// https://opensource.org/licenses/MIT
|
||||
|
||||
#pragma once
|
||||
#include "dawnlibs.hpp"
|
||||
#include "assert/assert.hpp"
|
||||
|
||||
namespace Dawn {
|
||||
class DawnGame;
|
||||
|
||||
class IAudioManager {
|
||||
public:
|
||||
DawnGame *game;
|
||||
|
||||
IAudioManager(DawnGame *game) {
|
||||
assertNotNull(game);
|
||||
this->game = game;
|
||||
}
|
||||
|
||||
virtual void init() = 0;
|
||||
virtual void update() = 0;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user