Base refactor
This commit is contained in:
		@@ -1,10 +0,0 @@
 | 
			
		||||
# Copyright (c) 2022 Dominic Masters
 | 
			
		||||
# 
 | 
			
		||||
# This software is released under the MIT License.
 | 
			
		||||
# https://opensource.org/licenses/MIT
 | 
			
		||||
 | 
			
		||||
# Sources
 | 
			
		||||
target_sources(${DAWN_TARGET_NAME}
 | 
			
		||||
  PRIVATE
 | 
			
		||||
    IAudioManager.cpp
 | 
			
		||||
)
 | 
			
		||||
@@ -1,14 +0,0 @@
 | 
			
		||||
// Copyright (c) 2023 Dominic Masters
 | 
			
		||||
// 
 | 
			
		||||
// This software is released under the MIT License.
 | 
			
		||||
// https://opensource.org/licenses/MIT
 | 
			
		||||
 | 
			
		||||
#include "IAudioManager.hpp"
 | 
			
		||||
 | 
			
		||||
using namespace Dawn;
 | 
			
		||||
 | 
			
		||||
IAudioManager::IAudioManager() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
IAudioManager::~IAudioManager() {
 | 
			
		||||
}
 | 
			
		||||
@@ -1,34 +0,0 @@
 | 
			
		||||
// Copyright (c) 2023 Dominic Masters
 | 
			
		||||
// 
 | 
			
		||||
// This software is released under the MIT License.
 | 
			
		||||
// https://opensource.org/licenses/MIT
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
#include "assert/assert.hpp"
 | 
			
		||||
 | 
			
		||||
namespace Dawn {
 | 
			
		||||
  class DawnGame;
 | 
			
		||||
 | 
			
		||||
  class IAudioManager {
 | 
			
		||||
    public:
 | 
			
		||||
      /**
 | 
			
		||||
       * Construct a new IAudioManager.
 | 
			
		||||
       */
 | 
			
		||||
      IAudioManager();
 | 
			
		||||
      
 | 
			
		||||
      /**
 | 
			
		||||
       * Initializes the audio manager system.
 | 
			
		||||
       */
 | 
			
		||||
      virtual void init() = 0;
 | 
			
		||||
 | 
			
		||||
      /**
 | 
			
		||||
       * Ticks/Update the audio manager system.
 | 
			
		||||
       */
 | 
			
		||||
      virtual void update() = 0;
 | 
			
		||||
 | 
			
		||||
      /**
 | 
			
		||||
       * Deinitializes the audio manager system.
 | 
			
		||||
       */
 | 
			
		||||
      virtual ~IAudioManager();
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user