Reorderd files in the folder tree for organization

This commit is contained in:
Marco Salazar 2021-10-08 21:59:38 -06:00
parent cbca859226
commit 12654cf5b0
22 changed files with 48 additions and 48 deletions

View File

@ -1,8 +1,8 @@
import 'package:firo_runner/holder.dart'; import 'package:firo_runner/holders/holder.dart';
import 'package:firo_runner/platform.dart'; import 'package:firo_runner/moving_objects/platform.dart';
import 'package:flame/components.dart'; import 'package:flame/components.dart';
import 'package:firo_runner/bug.dart'; import 'package:firo_runner/moving_objects/bug.dart';
import 'package:firo_runner/main.dart'; import 'package:firo_runner/main.dart';
class BugHolder extends Holder { class BugHolder extends Holder {

View File

@ -1,10 +1,10 @@
import 'package:firo_runner/holder.dart'; import 'package:firo_runner/holders/holder.dart';
import 'package:flame/components.dart'; import 'package:flame/components.dart';
import 'package:firo_runner/coin.dart'; import 'package:firo_runner/moving_objects/coin.dart';
import 'package:firo_runner/main.dart'; import 'package:firo_runner/main.dart';
import 'package:flame/extensions.dart'; import 'package:flame/extensions.dart';
import 'package:firo_runner/platform.dart'; import 'package:firo_runner/moving_objects/platform.dart';
class CoinHolder extends Holder { class CoinHolder extends Holder {
late List<Sprite> coin; late List<Sprite> coin;

View File

@ -1,10 +1,10 @@
import 'package:firo_runner/holder.dart'; import 'package:firo_runner/holders/holder.dart';
import 'package:firo_runner/platform.dart'; import 'package:firo_runner/moving_objects/platform.dart';
import 'package:flame/components.dart'; import 'package:flame/components.dart';
import 'package:flame/extensions.dart'; import 'package:flame/extensions.dart';
import 'package:flame/flame.dart'; import 'package:flame/flame.dart';
import 'package:firo_runner/debris.dart'; import 'package:firo_runner/moving_objects/debris.dart';
import 'package:firo_runner/main.dart'; import 'package:firo_runner/main.dart';
class DebrisHolder extends Holder { class DebrisHolder extends Holder {

View File

@ -1,6 +1,6 @@
import 'dart:math'; import 'dart:math';
import 'package:firo_runner/moving_object.dart'; import 'package:firo_runner/moving_objects/moving_object.dart';
import 'package:firo_runner/main.dart'; import 'package:firo_runner/main.dart';
import 'package:flame/components.dart'; import 'package:flame/components.dart';

View File

@ -1,8 +1,8 @@
import 'package:firo_runner/holder.dart'; import 'package:firo_runner/holders/holder.dart';
import 'package:firo_runner/main.dart'; import 'package:firo_runner/main.dart';
import 'package:firo_runner/moving_object.dart'; import 'package:firo_runner/moving_objects/moving_object.dart';
import 'package:flame/components.dart'; import 'package:flame/components.dart';
import 'package:firo_runner/platform.dart'; import 'package:firo_runner/moving_objects/platform.dart';
class PlatformHolder extends Holder { class PlatformHolder extends Holder {
late List<Sprite> l1; late List<Sprite> l1;

View File

@ -1,8 +1,8 @@
import 'package:firo_runner/holder.dart'; import 'package:firo_runner/holders/holder.dart';
import 'package:firo_runner/platform.dart'; import 'package:firo_runner/moving_objects/platform.dart';
import 'package:flame/components.dart'; import 'package:flame/components.dart';
import 'package:firo_runner/wall.dart'; import 'package:firo_runner/moving_objects/wall.dart';
import 'package:firo_runner/main.dart'; import 'package:firo_runner/main.dart';
class WallHolder extends Holder { class WallHolder extends Holder {

View File

@ -1,8 +1,8 @@
import 'package:firo_runner/holder.dart'; import 'package:firo_runner/holders/holder.dart';
import 'package:firo_runner/platform.dart'; import 'package:firo_runner/moving_objects/platform.dart';
import 'package:flame/components.dart'; import 'package:flame/components.dart';
import 'package:firo_runner/wire.dart'; import 'package:firo_runner/moving_objects/wire.dart';
import 'package:firo_runner/main.dart'; import 'package:firo_runner/main.dart';
class WireHolder extends Holder { class WireHolder extends Holder {

View File

@ -1,21 +1,21 @@
import 'dart:async'; import 'dart:async';
import 'dart:math'; import 'dart:math';
import 'package:firo_runner/bug_holder.dart'; import 'package:firo_runner/holders/bug_holder.dart';
import 'package:firo_runner/circuit_background.dart'; import 'package:firo_runner/moving_objects/circuit_background.dart';
import 'package:firo_runner/coin_holder.dart'; import 'package:firo_runner/holders/coin_holder.dart';
import 'package:firo_runner/debris_holder.dart'; import 'package:firo_runner/holders/debris_holder.dart';
import 'package:firo_runner/deposit.dart'; import 'package:firo_runner/overlays/deposit_overlay.dart';
import 'package:firo_runner/firework.dart'; import 'package:firo_runner/firework.dart';
import 'package:firo_runner/game_state.dart'; import 'package:firo_runner/game_state.dart';
import 'package:firo_runner/leader_board.dart'; import 'package:firo_runner/overlays/leader_board_overlay.dart';
import 'package:firo_runner/moving_object.dart'; import 'package:firo_runner/moving_objects/moving_object.dart';
import 'package:firo_runner/platform.dart'; import 'package:firo_runner/moving_objects/platform.dart';
import 'package:firo_runner/platform_holder.dart'; import 'package:firo_runner/holders/platform_holder.dart';
import 'package:firo_runner/sign_in_overlay.dart'; import 'package:firo_runner/overlays/sign_in_overlay.dart';
import 'package:firo_runner/wall_holder.dart'; import 'package:firo_runner/holders/wall_holder.dart';
import 'package:firo_runner/wire.dart'; import 'package:firo_runner/moving_objects/wire.dart';
import 'package:firo_runner/wire_holder.dart'; import 'package:firo_runner/holders/wire_holder.dart';
import 'package:flame/components.dart'; import 'package:flame/components.dart';
import 'package:flame/extensions.dart'; import 'package:flame/extensions.dart';
import 'package:flame/flame.dart'; import 'package:flame/flame.dart';
@ -29,8 +29,8 @@ import 'package:firo_runner/runner.dart';
import 'package:flutter/foundation.dart' show kIsWeb; import 'package:flutter/foundation.dart' show kIsWeb;
import 'package:http/http.dart' as http; import 'package:http/http.dart' as http;
import 'package:firo_runner/lose_menu_overlay.dart'; import 'package:firo_runner/overlays/lose_menu_overlay.dart';
import 'package:firo_runner/main_menu_overlay.dart'; import 'package:firo_runner/overlays/main_menu_overlay.dart';
import 'package:shared_preferences/shared_preferences.dart'; import 'package:shared_preferences/shared_preferences.dart';
// TODO Set NO_TOURNAMENT to false, and then set the SERVER and PORT for the // TODO Set NO_TOURNAMENT to false, and then set the SERVER and PORT for the

View File

@ -1,4 +1,4 @@
import 'package:firo_runner/moving_object.dart'; import 'package:firo_runner/moving_objects/moving_object.dart';
import 'package:firo_runner/main.dart'; import 'package:firo_runner/main.dart';
import 'package:flame/components.dart'; import 'package:flame/components.dart';

View File

@ -1,4 +1,4 @@
import 'package:firo_runner/moving_object.dart'; import 'package:firo_runner/moving_objects/moving_object.dart';
import 'package:firo_runner/main.dart'; import 'package:firo_runner/main.dart';
import 'package:flame/components.dart'; import 'package:flame/components.dart';
import 'package:flame/flame.dart'; import 'package:flame/flame.dart';

View File

@ -1,4 +1,4 @@
import 'package:firo_runner/moving_object.dart'; import 'package:firo_runner/moving_objects/moving_object.dart';
import 'package:firo_runner/main.dart'; import 'package:firo_runner/main.dart';
import 'package:flame/components.dart'; import 'package:flame/components.dart';

View File

@ -1,4 +1,4 @@
import 'package:firo_runner/moving_object.dart'; import 'package:firo_runner/moving_objects/moving_object.dart';
import 'package:firo_runner/main.dart'; import 'package:firo_runner/main.dart';
import 'package:flame/components.dart'; import 'package:flame/components.dart';

View File

@ -1,6 +1,6 @@
import 'dart:math'; import 'dart:math';
import 'package:firo_runner/moving_object.dart'; import 'package:firo_runner/moving_objects/moving_object.dart';
import 'package:firo_runner/main.dart'; import 'package:firo_runner/main.dart';
import 'package:flame/components.dart'; import 'package:flame/components.dart';

View File

@ -1,4 +1,4 @@
import 'package:firo_runner/moving_object.dart'; import 'package:firo_runner/moving_objects/moving_object.dart';
import 'package:firo_runner/main.dart'; import 'package:firo_runner/main.dart';
import 'package:flame/components.dart'; import 'package:flame/components.dart';

View File

@ -1,4 +1,4 @@
import 'package:firo_runner/moving_object.dart'; import 'package:firo_runner/moving_objects/moving_object.dart';
import 'package:firo_runner/main.dart'; import 'package:firo_runner/main.dart';
import 'package:flame/components.dart'; import 'package:flame/components.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';

View File

@ -1,6 +1,6 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'main.dart'; import '../main.dart';
import 'package:qr_flutter/qr_flutter.dart'; import 'package:qr_flutter/qr_flutter.dart';
class DepositOverlay extends StatelessWidget { class DepositOverlay extends StatelessWidget {

View File

@ -1,6 +1,6 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'main.dart'; import '../main.dart';
class LeaderBoardOverlay extends StatelessWidget { class LeaderBoardOverlay extends StatelessWidget {
const LeaderBoardOverlay({ const LeaderBoardOverlay({

View File

@ -1,7 +1,7 @@
import 'package:flame_audio/flame_audio.dart'; import 'package:flame_audio/flame_audio.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'main.dart'; import '../main.dart';
import 'package:audioplayers/src/api/player_mode.dart'; import 'package:audioplayers/src/api/player_mode.dart';

View File

@ -3,7 +3,7 @@ import 'package:flutter/material.dart';
import 'package:audioplayers/src/api/player_mode.dart'; import 'package:audioplayers/src/api/player_mode.dart';
import 'package:shared_preferences/shared_preferences.dart'; import 'package:shared_preferences/shared_preferences.dart';
import 'main.dart'; import '../main.dart';
import 'package:flutter/foundation.dart' show kIsWeb; import 'package:flutter/foundation.dart' show kIsWeb;
class MainMenuOverlay extends StatelessWidget { class MainMenuOverlay extends StatelessWidget {

View File

@ -2,7 +2,7 @@ import 'package:flame_audio/flame_audio.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart'; import 'package:shared_preferences/shared_preferences.dart';
import 'main.dart'; import '../main.dart';
import 'package:audioplayers/src/api/player_mode.dart'; import 'package:audioplayers/src/api/player_mode.dart';
/// This is the stateful widget that the main application instantiates. /// This is the stateful widget that the main application instantiates.

View File

@ -1,6 +1,6 @@
import 'package:flame/extensions.dart'; import 'package:flame/extensions.dart';
import 'package:firo_runner/bug.dart'; import 'package:firo_runner/moving_objects/bug.dart';
import 'package:firo_runner/moving_object.dart'; import 'package:firo_runner/moving_objects/moving_object.dart';
import 'package:firo_runner/main.dart'; import 'package:firo_runner/main.dart';
import 'package:flame/effects.dart'; import 'package:flame/effects.dart';
import 'package:flame/flame.dart'; import 'package:flame/flame.dart';