Open
Description
I haven't checked the other classes, but GameEngine.js does not appear to have its functions referenced in react-native-game-enging.d.ts:
export interface GameEngineProperties {
systems?: any[];
entities?: {} | Promise<any>;
renderer?: any;
touchProcessor?: any;
timer?: any;
running?: boolean;
onEvent?: any;
style?: StyleProp<ViewStyle>;
children?: React.ReactNode;
}
export class GameEngine extends React.Component<GameEngineProperties> {}
Should GameEngine
not be:
export class GameEngine extends React.Component<GameEngineProperties> {
dispatch: (event:any) => void;
start: () => void;
stop: () => void;
swap: ({}:any | Promise) => void | Promise<void>
}
Or something similar to?
Is this an issue for other classes?
Metadata
Metadata
Assignees
Labels
No labels