From f72e95301c10a428ce94d62f748462542ebee5d3 Mon Sep 17 00:00:00 2001 From: Daniel van Noord Date: Thu, 10 Dec 2020 22:31:26 +0100 Subject: [PATCH] Fixed some annotations in Sim.js --- CookieMonster.js | 9 ++++++--- src/Sim.js | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CookieMonster.js b/CookieMonster.js index 1dfc4bf..7c69fee 100644 --- a/CookieMonster.js +++ b/CookieMonster.js @@ -4280,7 +4280,8 @@ CM.Sim.getCPSBuffMult = function() { 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' * (and similar to 'hasAura', 'Objects', 'GetTieredCpsMult' and 'auraMult'). * @@ -4304,7 +4305,8 @@ CM.Sim.InitialBuildingData = function(buildingName) { 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, * so this function just returns an empty object. */ @@ -4316,7 +4318,8 @@ CM.Sim.InitUpgrade = function(upgradeName) { 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, * so this function just returns an empty object. */ diff --git a/src/Sim.js b/src/Sim.js index 8eb7f83..95fe7d5 100644 --- a/src/Sim.js +++ b/src/Sim.js @@ -142,7 +142,8 @@ CM.Sim.getCPSBuffMult = function() { 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' * (and similar to 'hasAura', 'Objects', 'GetTieredCpsMult' and 'auraMult'). * @@ -166,7 +167,8 @@ CM.Sim.InitialBuildingData = function(buildingName) { 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, * so this function just returns an empty object. */ @@ -178,7 +180,8 @@ CM.Sim.InitUpgrade = function(upgradeName) { 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, * so this function just returns an empty object. */