Skip to content

キーを文字列で登録 #2

Description

@ton1517

addEventListenerを文字列で登録可能にする

example

addEventListener(KeyinsEvent.KEY_DOWN, "w", moveUp);
//複数登録も
addEventListener(KeyinsEvent.KEY_DOWN, "w↑", moveUp);

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions