Files
CookieMonster/src/Cache/PP/PP.js
2021-03-14 00:41:14 +01:00

15 lines
375 B
JavaScript

/**
* Section: Functions related to caching PP */
import CacheBuildingsPP from './Building';
import CacheUpgradePP from './Upgrade';
/**
* This functions caches the PP of each building and upgrade and stores it in the cache
* It is called by CM.Cache.LoopCache() and CM.Cache.InitCache()
*/
export default function CachePP() {
CacheBuildingsPP();
CacheUpgradePP();
}