Some fixes regarding the joystic PR

This commit is contained in:
Erick Zanardo
2020-06-30 22:30:05 -03:00
parent feca051911
commit 277faacf8f
3 changed files with 46 additions and 2 deletions

View File

@ -12,7 +12,7 @@ class Player extends Component implements JoystickListener {
final _greenPaint = Paint()..color = const Color(0xFF00FF00);
final double speed = 159;
double currentSpeed = 0;
double radAngle;
double radAngle = 0;
bool _move = false;
Paint _paint;