mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 19:12:31 +08:00
Fixed with regards to the comments
This commit is contained in:
@ -20,7 +20,7 @@ class AndroidComponent extends SpriteComponent with Resizable {
|
||||
int xDirection = 1;
|
||||
int yDirection = 1;
|
||||
|
||||
AndroidComponent() : super.square(100, 'android.png');
|
||||
AndroidComponent() : super.fromImagePath(Vector2.all(100), 'android.png');
|
||||
|
||||
@override
|
||||
void update(double dt) {
|
||||
|
||||
Reference in New Issue
Block a user