Skip to content

Commit

Permalink
support animated tilesets
Browse files Browse the repository at this point in the history
  • Loading branch information
jalyna committed Aug 18, 2019
1 parent 814458f commit 7fecdf3
Show file tree
Hide file tree
Showing 9 changed files with 5,860 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/Demo/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/Demo/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,24 @@ export interface MapData {
url?: string;
}[];
chars?: Char[];
gifLayer?: {
tilesets: {
[titlesetTitle: string]: {
imageBase64: string;
versions?: {
name: string;
imageBase64: string;
}[];
};
};
fields: {
x: number;
y: number;
tilesetTitle: string;
tilesetX: number;
tilesetY: number;
}[];
};
}
export interface Coordinates {
x: number;
Expand Down Expand Up @@ -85,6 +103,8 @@ export default class WorldEngine extends React.Component<WorldEngineProps, World
private interval;
private actionHandler;
render(): JSX.Element;
renderGifLayer(): JSX.Element[];
addCssClasses(): void;
pressEnter(): void;
onMouseDown(dir: Direction | string): void;
onMouseUp(dir: Direction | string): void;
Expand Down
40 changes: 40 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7fecdf3

Please sign in to comment.