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

          Line data    Source code
       1             : function Settlement() {}
       2             : 
       3           0 : Settlement.prototype.Schema =
       4             :         "<empty/>";
       5             : 
       6           0 : Engine.RegisterComponentType(IID_Settlement, "Settlement", Settlement);
       7             : 
       8             : /*
       9             :  * TODO: the vague plan is that this should keep track of who currently owns the settlement,
      10             :  * and some other code can detect this (or get notified of changes) when it needs to.
      11             :  * A civcenter's BuildRestrictions component will see that it's being built on this settlement,
      12             :  * call MoveOutOfWorld on us (so we're invisible and only the building is visible/selectable),
      13             :  * tell us that its player owns us, and move us back into our original position when the building
      14             :  * is destroyed. Don't know if that's a sensible plan, though.
      15             :  */

Generated by: LCOV version 1.14