ton1517/Keyins — Issue #1: キーの複数登録
Author: ton1517
Created: 2011-11-21 07:08:31+00:00
State: open
Labels: features

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

example

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

↓

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