refac: bootstrap()

- 각 클래스가 WeakRef로 상호 참조한다면, construct 시점엔 불가
- bootstrap() 함수로 이후 참조
This commit is contained in:
2024-03-14 16:26:40 +00:00
parent 3e4129c3f1
commit b4b00e1983
14 changed files with 335 additions and 59 deletions
+4
View File
@@ -16,6 +16,10 @@ export class City extends LazyEntityUpdater<ICityEntity>{
this._raw = raw;
}
public bootstrap(){
//do nothing;
}
get id(): CityID {
return this._raw.id;
}