Sunset old state system finally.
This commit is contained in:
		@@ -7,7 +7,8 @@
 | 
			
		||||
 | 
			
		||||
using namespace Dawn;
 | 
			
		||||
 | 
			
		||||
IAudioManager::IAudioManager(DawnGame *game) {
 | 
			
		||||
  assertNotNull(game, "Game cannot be null.");
 | 
			
		||||
  this->game = game;
 | 
			
		||||
IAudioManager::IAudioManager() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
IAudioManager::~IAudioManager() {
 | 
			
		||||
}
 | 
			
		||||
@@ -10,16 +10,11 @@ namespace Dawn {
 | 
			
		||||
  class DawnGame;
 | 
			
		||||
 | 
			
		||||
  class IAudioManager {
 | 
			
		||||
    protected:
 | 
			
		||||
      DawnGame *game;
 | 
			
		||||
 | 
			
		||||
    public:
 | 
			
		||||
      /**
 | 
			
		||||
       * Construct a new IAudioManager.
 | 
			
		||||
       * 
 | 
			
		||||
       * @param game The game instance.
 | 
			
		||||
       */
 | 
			
		||||
      IAudioManager(DawnGame *game);
 | 
			
		||||
      IAudioManager();
 | 
			
		||||
      
 | 
			
		||||
      /**
 | 
			
		||||
       * Initializes the audio manager system.
 | 
			
		||||
@@ -30,5 +25,10 @@ namespace Dawn {
 | 
			
		||||
       * Ticks/Update the audio manager system.
 | 
			
		||||
       */
 | 
			
		||||
      virtual void update() = 0;
 | 
			
		||||
 | 
			
		||||
      /**
 | 
			
		||||
       * Deinitializes the audio manager system.
 | 
			
		||||
       */
 | 
			
		||||
      virtual ~IAudioManager();
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user