mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 19:12:31 +08:00
removing wrong code
This commit is contained in:
committed by
Erick (CptBlackPixel)
parent
110aa376d8
commit
1608e9a7b3
@ -17,10 +17,10 @@ class TiledGame extends BaseGame {
|
||||
TiledGame() {
|
||||
final TiledComponent tiledMap = TiledComponent('map.tmx');
|
||||
add(tiledMap);
|
||||
__addCoinsInMap(tiledMap);
|
||||
_addCoinsInMap(tiledMap);
|
||||
}
|
||||
|
||||
void __addCoinsInMap(TiledComponent tiledMap) async {
|
||||
void _addCoinsInMap(TiledComponent tiledMap) async {
|
||||
final ObjectGroup obj =
|
||||
await tiledMap.getObjectGroupFromLayer("AnimatedCoins");
|
||||
if (obj == null) {
|
||||
|
||||
Reference in New Issue
Block a user