LCOV - code coverage report
Current view: top level - simulation/components - BiomeManager.js (source / functions) Hit Total Coverage
Test: lcov.info Lines: 0 8 0.0 %
Date: 2023-04-02 12:52:40 Functions: 0 4 0.0 %

          Line data    Source code
       1             : /**
       2             :   * A manager class for biomes.
       3             :   * @class
       4             :   * @constructor
       5             :   */
       6             : function BiomeManager() {}
       7             : 
       8             : /**
       9             :  * Defines the XML schema and help strings of the manaager.
      10             :  * @memberof BiomeManager
      11             :  */
      12           0 : BiomeManager.prototype.Schema =
      13             :         "<a:component type='system'/><empty/>";
      14             : 
      15             : /**
      16             :  * Initializes the current map's biome.
      17             :  * @memberof BiomeManager
      18             :  */
      19           0 : BiomeManager.prototype.Init = function()
      20             : {
      21           0 :     this.biome = "";
      22             : }
      23             : 
      24             : /**
      25             :  * Sets the current map's biome.
      26             :  * @param {string} biome - The new biome.
      27             :  * @memberof BiomeManager
      28             :  */
      29           0 : BiomeManager.prototype.SetBiome = function(biome)
      30             : {
      31           0 :     this.biome = biome;
      32             : }
      33             : 
      34             : /**
      35             :  * Returns the current map's biome.
      36             :  * @memberof BiomeManager
      37             :  */
      38           0 : BiomeManager.prototype.GetBiome = function()
      39             : {
      40           0 :         return this.biome;
      41             : }
      42             : 
      43           0 : Engine.RegisterSystemComponentType(IID_BiomeManager, "BiomeManager", BiomeManager);

Generated by: LCOV version 1.14