Skip to content

Instantly share code, notes, and snippets.

@Tsumio
Last active October 31, 2017 06:54
Show Gist options
  • Save Tsumio/ba33b25b5ce7c65f753cd944f9175400 to your computer and use it in GitHub Desktop.
Save Tsumio/ba33b25b5ce7c65f753cd944f9175400 to your computer and use it in GitHub Desktop.
Test gist
refresh() {
this.bitmap.clear();
this.createTroutArray();
this.refreshTroutData();
this.drawCalendar();
}
updateInput() {
if (Input.isRepeated('down')) {
}
if (Input.isRepeated('up')) {
}
if (Input.isRepeated('right')) {
console.log('right!');
}
if (Input.isRepeated('left')) {
//Test
}
if (Input.isTriggered('pagedown')) {
this.gotoNextMonth();
}
if (Input.isTriggered('pageup')) {
this.gotoPreviousMonth();
}
}
@Tsumio
Copy link
Author

Tsumio commented Oct 31, 2017

Test code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment