mirror of
https://github.com/motajs/template.git
synced 2026-10-30 21:30:17 +08:00
- add IHeroAttributeSave<THero> and have IHeroAttribute extend ISaveableContent - move the modifier factory registry into HeroAttribute with registerModifier/createModifier/createAndInsertModifier - implement in-place saveState/loadState (values deep copy, save-enabled modifier enumeration, registry-driven rebuild) - carry registry entries into clone() output - introduce IHeroModifierOwner so modifier owner typing stays assignable for generic attributes - add attribute.test.ts same-reference save/load regressions across all compressions |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||