refac: bootstrap()
- 각 클래스가 WeakRef로 상호 참조한다면, construct 시점엔 불가 - bootstrap() 함수로 이후 참조
This commit is contained in:
@@ -16,6 +16,10 @@ export class City extends LazyEntityUpdater<ICityEntity>{
|
||||
this._raw = raw;
|
||||
}
|
||||
|
||||
public bootstrap(){
|
||||
//do nothing;
|
||||
}
|
||||
|
||||
get id(): CityID {
|
||||
return this._raw.id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user