Refactor large files into modular components
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 1m9s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 1m9s
- Refactored page.tsx (613→252 lines) with GameOverScreen and LeftPanel extracted - Refactored StatsTab.tsx (584→92 lines) with section components - Refactored SkillsTab.tsx (434→54 lines) with sub-components - Created modular structure for GameContext, LootInventory, and other components - All extracted components organized into feature directories
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
// ─── Golem Definitions Index ─────────────────────────────────
|
||||
// Re-exports from all golem modules
|
||||
|
||||
// Re-export types
|
||||
export type { GolemDef, GolemManaCost } from './types';
|
||||
|
||||
// Re-export data
|
||||
export { GOLEMS_DEF } from './data';
|
||||
|
||||
// Re-export utility functions
|
||||
export {
|
||||
getGolemSlots,
|
||||
isGolemUnlocked,
|
||||
getUnlockedGolems,
|
||||
getGolemDamage,
|
||||
getGolemAttackSpeed,
|
||||
getGolemFloorDuration,
|
||||
getGolemMaintenanceMultiplier,
|
||||
canAffordGolemSummon,
|
||||
deductGolemSummonCost,
|
||||
canAffordGolemMaintenance,
|
||||
deductGolemMaintenance,
|
||||
} from './utils';
|
||||
Reference in New Issue
Block a user