add face-down card sprite

This commit is contained in:
2025-11-02 21:16:29 -08:00
parent 413be0c055
commit a5e3e04790
6 changed files with 32 additions and 11 deletions

View File

@ -1,4 +1,4 @@
import { Application, Assets, Sprite } from "pixi.js";
import { Application } from "pixi.js";
import { Hand } from "./Hand";
(async () => {
@ -17,6 +17,7 @@ import { Hand } from "./Hand";
"eightOfDiamonds",
"threeOfClubs",
"kingOfSpades",
"unknown",
]);
app.stage.addChild(hand.cards);