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

          Line data    Source code
       1             : function TerritoryDecayManager() {}
       2             : 
       3           0 : TerritoryDecayManager.prototype.Schema =
       4             :         "<a:component type='system'/><empty/>";
       5             : 
       6           0 : TerritoryDecayManager.prototype.Init = function()
       7             : {
       8           0 :         this.list = new Set();
       9             : };
      10             : 
      11           0 : TerritoryDecayManager.prototype.Add = function(ent)
      12             : {
      13           0 :         this.list.add(ent);
      14             : };
      15             : 
      16           0 : TerritoryDecayManager.prototype.Remove = function(ent)
      17             : {
      18           0 :         this.list.delete(ent);
      19             : };
      20             : 
      21           0 : TerritoryDecayManager.prototype.SetBlinkingEntities = function()
      22             : {
      23           0 :         for (let ent of this.list.values())
      24           0 :                 Engine.QueryInterface(ent, IID_TerritoryDecay).IsConnected();
      25             : };
      26             : 
      27           0 : Engine.RegisterSystemComponentType(IID_TerritoryDecayManager, "TerritoryDecayManager", TerritoryDecayManager);

Generated by: LCOV version 1.14