Created
November 10, 2020 00:15
-
-
Save AlabasterAxe/2ffb1d2248f9205840fc3cda5f77486e to your computer and use it in GitHub Desktop.
Initialize the ground objects for Flutter Dino Game
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ground = [ | |
Ground(location: Offset(0, 0)), | |
Ground( | |
location: Offset(groundSprite.imageWidth / WORLD_TO_PIXEL_RATIO, 0)) | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment