@tdurtschi/bug
Version:
Bug is a simulation that models a weevil walking around in an HTML canvas.
19 lines (18 loc) • 467 B
TypeScript
import React from "react";
import { Game } from "../../core/game-engine";
import Entity from "../../core/entities/entity";
interface Props {
game: Game;
}
interface State {
currentEntity?: Entity;
}
export declare class Debugger extends React.Component<Props, State> {
componentDidMount(): void;
render: () => JSX.Element;
private getMessage;
private handleKeyDown;
private targetPreviousEntity;
private targetNextEntity;
}
export {};