Skip to content

Commit

Permalink
#115 add optional preload method used by phaser - loading json
Browse files Browse the repository at this point in the history
  • Loading branch information
Skytrias committed Dec 25, 2017
1 parent ec4120c commit 5ce69a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/states/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default abstract class State {
abstract get name(): string;

init(data: any) {}
preload() {}
create() {}
update() {}
render() {}
Expand Down

0 comments on commit 5ce69a3

Please sign in to comment.