Fixed some annotations in Sim.js

This commit is contained in:
Daniel van Noord
2020-12-10 22:31:26 +01:00
parent 8ffc0a2664
commit f72e95301c
2 changed files with 12 additions and 6 deletions

View File

@@ -4280,7 +4280,8 @@ CM.Sim.getCPSBuffMult = function() {
return mult; return mult;
} }
/* Constructs an object with the static properties of a building, /**
* Constructs an object with the static properties of a building,
* but with a 'cps' method changed to use 'CM.Sim.Has' instead of 'Game.Has' * but with a 'cps' method changed to use 'CM.Sim.Has' instead of 'Game.Has'
* (and similar to 'hasAura', 'Objects', 'GetTieredCpsMult' and 'auraMult'). * (and similar to 'hasAura', 'Objects', 'GetTieredCpsMult' and 'auraMult').
* *
@@ -4304,7 +4305,8 @@ CM.Sim.InitialBuildingData = function(buildingName) {
return you; return you;
} }
/* Similar to the previous function, but for upgrades. /**
* Similar to the previous function, but for upgrades.
* Note: currently no static data is used by Cookie Monster, * Note: currently no static data is used by Cookie Monster,
* so this function just returns an empty object. * so this function just returns an empty object.
*/ */
@@ -4316,7 +4318,8 @@ CM.Sim.InitUpgrade = function(upgradeName) {
return you; return you;
} }
/* Similar to the previous function, but for achievements. /**
* Similar to the previous function, but for achievements.
* Note: currently no static data is used by Cookie Monster, * Note: currently no static data is used by Cookie Monster,
* so this function just returns an empty object. * so this function just returns an empty object.
*/ */

View File

@@ -142,7 +142,8 @@ CM.Sim.getCPSBuffMult = function() {
return mult; return mult;
} }
/* Constructs an object with the static properties of a building, /**
* Constructs an object with the static properties of a building,
* but with a 'cps' method changed to use 'CM.Sim.Has' instead of 'Game.Has' * but with a 'cps' method changed to use 'CM.Sim.Has' instead of 'Game.Has'
* (and similar to 'hasAura', 'Objects', 'GetTieredCpsMult' and 'auraMult'). * (and similar to 'hasAura', 'Objects', 'GetTieredCpsMult' and 'auraMult').
* *
@@ -166,7 +167,8 @@ CM.Sim.InitialBuildingData = function(buildingName) {
return you; return you;
} }
/* Similar to the previous function, but for upgrades. /**
* Similar to the previous function, but for upgrades.
* Note: currently no static data is used by Cookie Monster, * Note: currently no static data is used by Cookie Monster,
* so this function just returns an empty object. * so this function just returns an empty object.
*/ */
@@ -178,7 +180,8 @@ CM.Sim.InitUpgrade = function(upgradeName) {
return you; return you;
} }
/* Similar to the previous function, but for achievements. /**
* Similar to the previous function, but for achievements.
* Note: currently no static data is used by Cookie Monster, * Note: currently no static data is used by Cookie Monster,
* so this function just returns an empty object. * so this function just returns an empty object.
*/ */