Files
bworld/client/inventory.ts
T
2026-10-01 16:22:02 -03:00

10 lines
292 B
TypeScript

import { Container, Cursor } from "$/common/inventory.ts";
// the local copies of the containers the server syncs to this player
export class ClientInventories {
inventory = new Container(9 * 4);
crafting = new Container(10);
cursor: Cursor = { item: undefined };
hotbar_selected = 0;
}