@pretty-chitty/core
    Preparing search index...

    Class GameBagChit<T>Abstract

    A GameBag is an infinite supply of a game component available to the game. It's important that it allows players taking concurrent turns to all oeprate against this same bag without creating a mismatch conflict.

    Type Parameters

    Hierarchy (View Summary)

    Index

    Accessors

    • get parentOutletIndex(): number | undefined

      Returns number | undefined

    • get parentOutlet(): string | undefined

      Returns string | undefined

    • get isClickable(): boolean

      Returns true if the chit is currently clickable

      Returns boolean

    • get currentTurn(): Turn<any, any, any>

      Returns Turn<any, any, any>

    Constructors

    Methods

    • Parameters

      • OptionalnewValue: Chit
      • OptionalparentOutlet: string
      • OptionalparentOutletIndex: number

      Returns void

    Properties

    id?: string
    orderedChildren: OrderedOutlet<Chit> = ...