Complete overhaul of code structure and relevant files (#639)
This commit is contained in:
14
src/Cache/PP/PP.js
Normal file
14
src/Cache/PP/PP.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 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();
|
||||
}
|
||||
Reference in New Issue
Block a user