ecs-observable/examples/blackjack/commands.ts

17 lines
475 B
TypeScript
Raw Normal View History

import { defineComponent } from "../../src/component";
/** Player takes another card. */
export const Hit = defineComponent("hit", {});
/** Player stands (ends their turn). */
export const Stand = defineComponent("stand", {});
/** Start a new round. */
export const NewRound = defineComponent("newRound", {});
/** Increase the bet. */
export const BetMore = defineComponent("betMore", {});
/** Decrease the bet. */
export const BetLess = defineComponent("betLess", {});