BehaviorEntry
Since 0.6
The behavior catalogue: the modules a scene can name in script.module.
This is the single source for the build's entry points and for dist/entries.json, which is what the app reads to resolve script: { module: "player" } to a file. Keep it free of imports: the build transforms this one file on its own to learn what to bundle.
Signature
export interface BehaviorEntry {
/** What a scene writes in `script.module`. */
module: string
/** Source entry, relative to the package root. */
entry: string
/** One line on what it does. */
summary: string
/** Props it reads, for the catalogue in docs/status/step-04-ts.md. */
props: string[]
}
Import: import type { BehaviorEntry } from "@argus/gameplay"
Members
| Member | Signature | Description |
|---|---|---|
module | module: string | What a scene writes in script.module. |
entry | entry: string | Source entry, relative to the package root. |
summary | summary: string | One line on what it does. |
props | props: string[] | Props it reads, for the catalogue in docs/status/step-04-ts.md. |