14 lines
201 B
Dart
14 lines
201 B
Dart
|
class InputDirection {
|
||
|
bool up = false;
|
||
|
bool down = false;
|
||
|
bool left = false;
|
||
|
bool right = false;
|
||
|
|
||
|
void reset() {
|
||
|
up = false;
|
||
|
down = false;
|
||
|
left = false;
|
||
|
right = false;
|
||
|
}
|
||
|
}
|