sparkletown/sparkle

View on GitHub
src/components/templates/AnimateMap/game/map/nodes/HoverableSpriteNode.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { defineNode } from "@ash.ts/ash";

import { HoverableSpriteComponent } from "../components/HoverableSpriteComponent";
import { SpriteComponent } from "../components/SpriteComponent";

export class HoverableSpriteNode extends defineNode({
  hover: HoverableSpriteComponent,
  sprite: SpriteComponent,
}) {}