Skip to content

キーの複数登録 #1

@ton1517

Description

@ton1517

addEventListenerを一度に複数のキーに割り当てられるようにする

example

addEventListener(KeyinsEvent.KEY_DOWN_W, moveUp);
addEventListener(KeyinsEvent.KEY_DOWN_UP, moveUp);

addEventListener(KeyinsEvent.KEY_DOWN_W | KeyinsEvent.KEY_DOWN_UP, moveUp);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions