vue: NPCControl(WIP) 메인 기능 동작

This commit is contained in:
2021-09-08 02:48:46 +09:00
parent 598236a1d2
commit ffc7d4bacc
8 changed files with 426 additions and 40 deletions
+9
View File
@@ -0,0 +1,9 @@
import { IDItem } from "../defs";
export function convertIDArray<T>(array: Iterable<T>): IDItem<T>[] {
const result: IDItem<T>[] = [];
for (const id of array) {
result.push({ id });
}
return result;
}