VeryGoodOpenSource / very_good_flame_game

A Very Good Flutter Starter Flame Game created by the Very Good Ventures Team 🦄
https://brickhub.dev/bricks/very_good_flame_game
MIT License
85 stars 11 forks source link

fix: Class `VeryGoodFlameGame` does not assume app name #124

Closed renancaraujo closed 1 year ago

renancaraujo commented 1 year ago

Description

When generating the template with a game named, for example, "My Fun Game", the class VeryGoodFlameGame keeps its raw name rather than assuming the name of the game when it should be MyFunGame.

This is the brick location:

https://github.com/VeryGoodOpenSource/very_good_flame_game/blob/main/brick/__brick__/%7B%7Bproject_name.snakeCase()%7D%7D/lib/game/%7B%7Bproject_name.snakeCase()%7D%7D.dart#L8

Observe that the file name assimes project_name.snakeCase() but the class doesnt.