File Formating - AmayaHena/ClassCreator GitHub Wiki

Here is some exmplanation about the file format to use the 'A' option.

You can find more exemple in the doc folder in the repo.


WARNING : Each name of dir must be in only one Word (use PascalCase)


To understand the file format, this file :

- GameObject - Potion - Heal
                      - Damage
             - Player
             - Enemy
             - Weapon - Axe
                      - Sword
                      - Rock

Will give you this architecture :

*projectName*/inc/GameObject/Potion/Heal
*projectName*/inc/GameObject/Potion/Damage
*projectName*/inc/GameObject/Player
*projectName*/inc/GameObject/Enemy
*projectName*/inc/GameObject/Weapon
*projectName*/inc/GameObject/Weapon/Axe
*projectName*/inc/GameObject/Weapon/Sword
*projectName*/inc/GameObject/Weapon/Rock

*projectName*/src/GameObject/Potion/Heal
*projectName*/src/GameObject/Potion/Damage
*projectName*/src/GameObject/Player
*projectName*/src/GameObject/Enemy
*projectName*/src/GameObject/Weapon
*projectName*/src/GameObject/Weapon/Axe
*projectName*/src/GameObject/Weapon/Sword
*projectName*/src/GameObject/Weapon/Rock

Each new branch have to be seperate by an empty line

Example :

- GameObject - Potion - Heal
                      - Damage

- Communication - TeamChat
                - VocalChat

- Graphic - Menu
          - Game

For each new dir there is a '-' with white space if there is a name on the side The '-' must be algin with the other dirs Example :

- GameObject - Potion - Heal
                      - Damage
             - Weapon - Axe
                      - Sword
                      - Rock
             - NPC - Friendly - King
                              - Random
                              - Monster
                              - Waifu
                   - Enemy - Monster - KingMonster
                                     - Random
                           - Wolf - KingWolf
                                  - FluffyWolf

Each of the '-' must be aligned!