IPlayer

Typescript interface: IPlayer is an interface that represents a "player" object that can be added into a Space.

Interface in src/Types.ts

Methods

action ( type, px, py, evt )

parameters
type: string

px: number

py: number

evt: Event

returns
void

source

resize ( bound, evt )

parameters
bound: Bound

evt: Event

returns
void

source

start ( bound, space )

parameters
bound: Bound

space: Space

returns
void

source