WIP
This commit is contained in:
1 parent
eef8adfa5f
commit
75bbe67730
6 files changed
+52
-59
No files matched your search
+1
-4
@@ -7,7 +7,6 @@ import {
|
||||
Show,
|
||||
} from "solid-js";
|
||||
import { render } from "solid-js/web";
|
||||
import type { Entity } from "#/engine/Entity.ts";
|
||||
import {
|
||||
currentScene,
|
||||
type SceneData,
|
||||
@@ -73,9 +72,7 @@ const DevTools: Component<{ gameContainer: HTMLElement }> = ({
|
||||
const [entities, setEntities] = createSignal(
|
||||
mapSceneEntities(currentScene.data),
|
||||
);
|
||||
const [activeEntity, setActiveEntity] = createSignal<null | Entity<object>>(
|
||||
null,
|
||||
);
|
||||
const [activeEntity, setActiveEntity] = createSignal<null | object>(null); // TODO
|
||||
|
||||
createEffect(() => {
|
||||
setScale(currentScale());
|
||||
|
||||
Reference in new issue
Block a user