Complete overhaul of code structure and relevant files (#639)

This commit is contained in:
Daniël van Noord
2021-03-14 00:41:14 +01:00
committed by GitHub
parent bb34bce9a5
commit 1bffb58782
163 changed files with 7369 additions and 10882 deletions

14
src/Cache/PP/PP.js Normal file
View 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();
}