소스 검색

Allow entity selection by clicking the bottom name

tags/v0.0.1
Fen Dweller 5 년 전
부모
커밋
6ee89ad272
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      macrovision.js

+ 2
- 0
macrovision.js 파일 보기

@@ -530,6 +530,8 @@ function displayEntity(entity, view, x, y) {
bottomName.id = "bottom-name-" + entityIndex;
bottomName.innerText = entity.name;

bottomName.addEventListener("click", () => select(box));

world.appendChild(bottomName);
entityIndex += 1;



불러오는 중...
취소
저장