FloatInput beta
Interface of @v12-engine/client
ts
export interface FloatInputWhat a float is made from: the event it shows (none for one put up in code), the entity it is over, the number it says, its kind (damage, heal, a game's own), and the game's own knobs
Members
amount
ts
amount?: number;The number it is about: the damage, the healing, the experience. Merged floats carry the merged number
entity
ts
entity?: EntityView;The unit it floats over, where it has one
event
ts
event?: SessionEvent;The session's event it is floated for, where it is one
kind
ts
kind: string;The kind it is floated as (damage, xp, a game event's id, custom)
params
ts
params?: Readonly<Record<string, unknown>>;Words and numbers its def's words fill in by braces ({name}, {level}, {resource}) and its functions read
source
ts
source?: number;Who did it, when known: an entity's id
state
ts
state?: GameState;The game as this screen knows it