not sure its better or not
This commit is contained in:
@@ -5,7 +5,7 @@ import { fromSrc, type Sprite } from "#/lib/Sprite.ts";
|
||||
|
||||
const idle: Sprite = await fromSrc(charIdle, 2, 4);
|
||||
|
||||
const { animate, process } = useEntity("fooEntity", {
|
||||
const { animate, process } = useEntity(import.meta, {
|
||||
animation: createAnimation(2, 500),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user