| 51 | * Typescript interface: IPlayer is an interface that represents a "player" object that can be added into a Space. |
| 52 | */ |
| 53 | export 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 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected