MCPcopy
hub / github.com/williamngan/pts / IPlayer

Interface IPlayer

src/Types.ts:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51* Typescript interface: IPlayer is an interface that represents a "player" object that can be added into a Space.
52*/
53export interface IPlayer {
54 animateID?: string;
55 animate?:AnimateCallbackFn;
56 resize?( bound:Bound, evt?:Event ): void;
57 action?( type:string, px:number, py:number, evt:Event ): void;
58 start?( bound:Bound, space:Space ): void;
59}
60
61
62/**

Callers

nothing calls this directly

Implementers 1

Temposrc/Play.ts

Calls

no outgoing calls

Tested by

no test coverage detected