mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 03:15:43 +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() {
|
TiledGame() {
|
||||||
final TiledComponent tiledMap = TiledComponent('map.tmx');
|
final TiledComponent tiledMap = TiledComponent('map.tmx');
|
||||||
add(tiledMap);
|
add(tiledMap);
|
||||||
__addCoinsInMap(tiledMap);
|
_addCoinsInMap(tiledMap);
|
||||||
}
|
}
|
||||||
|
|
||||||
void __addCoinsInMap(TiledComponent tiledMap) async {
|
void _addCoinsInMap(TiledComponent tiledMap) async {
|
||||||
final ObjectGroup obj =
|
final ObjectGroup obj =
|
||||||
await tiledMap.getObjectGroupFromLayer("AnimatedCoins");
|
await tiledMap.getObjectGroupFromLayer("AnimatedCoins");
|
||||||
if (obj == null) {
|
if (obj == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user