keydown typo
This commit is contained in:
parent
a538178c9c
commit
170382d2ca
@ -48,7 +48,7 @@ public final class Input {
|
|||||||
|
|
||||||
public final boolean IsKeyDown(int keycode)
|
public final boolean IsKeyDown(int keycode)
|
||||||
{
|
{
|
||||||
return (state_keycode == keycode) && (state_keyphase == 0);
|
return (state_keycode == keycode) && (state_keyphase == 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
public final boolean IsKeyDown(int[] keycode)
|
public final boolean IsKeyDown(int[] keycode)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user