Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
fix: remove duplicated image object group builder
Browse files Browse the repository at this point in the history
  • Loading branch information
marcossevilla committed Oct 25, 2023
1 parent 76bb625 commit 8fadd51
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 58 deletions.
1 change: 0 additions & 1 deletion lib/game/components/components.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export 'camera_debugger.dart';
export 'enemy.dart';
export 'image_object_group_builder.dart';
export 'item.dart';
export 'object_group_proximity_spawner.dart';
export 'player.dart';
Expand Down
55 changes: 0 additions & 55 deletions lib/game/components/image_object_group_builder.dart

This file was deleted.

3 changes: 1 addition & 2 deletions lib/game/dash_run_game.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,8 @@ class DashRunGame extends LeapGame
(tileset) => tileset.name == 'tile_enemies_v2',
);

final items = ImageObjectGroupBuilder(
final items = SpriteObjectGroupBuilder(
tileset: itemsTileset,
leapMap: leapMap,
tileLayerName: 'items',
tilesetPath: 'objects/tile_items_v2.png',
componentBuilder: Item.new,
Expand Down

0 comments on commit 8fadd51

Please sign in to comment.