Quantum Engineering
Public Member Functions | Private Member Functions | Private Attributes | List of all members
HazardManager Class Reference

Public Member Functions

 HazardManager (GameManager gameManager)
 This class handles all meteor showers and pirate attacks. More...
 
void UpdateHazards ()
 Called by the game manager to increment timers and carry out meteor showers and pirate attacks when needed. More...
 

Private Member Functions

void StopHazards ()
 Removes all hazards from the world. More...
 
IEnumerator HazardRemovalCoroutine ()
 Removes all hazards from the world. More...
 

Private Attributes

GameManager gameManager
 
bool hazardsRemoved
 

Constructor & Destructor Documentation

◆ HazardManager()

HazardManager.HazardManager ( GameManager  gameManager)
inline

This class handles all meteor showers and pirate attacks.

Member Function Documentation

◆ HazardRemovalCoroutine()

IEnumerator HazardManager.HazardRemovalCoroutine ( )
inlineprivate

Removes all hazards from the world.

◆ StopHazards()

void HazardManager.StopHazards ( )
inlineprivate

Removes all hazards from the world.

◆ UpdateHazards()

void HazardManager.UpdateHazards ( )
inline

Called by the game manager to increment timers and carry out meteor showers and pirate attacks when needed.

Member Data Documentation

◆ gameManager

GameManager HazardManager.gameManager
private

◆ hazardsRemoved

bool HazardManager.hazardsRemoved
private

The documentation for this class was generated from the following file: