This commit is contained in:
Antonio Scandurra
2016-10-06 12:36:17 +02:00
parent ae942b87ba
commit e94ea55d90
2 changed files with 2 additions and 2 deletions

View File

@@ -44,8 +44,7 @@ class TiledComponent
@componentsByTileId[tileRow]
getComponents: ->
for _, component of @componentsByTileId
component
Object.values(@componentsByTileId)
getTiles: ->
@getComponents().map((component) -> component.getDomNode())