4 ms·
That's strange because I was about to comment the exact opposite. ECS is for games, inheritance is for almost everything else
by fxd123 3y ago
That's strange because I was about to comment the exact opposite. ECS is for games, inheritance is for almost everything else
- ipaddr 2y agoFor games having your character as a type of a general class fits well. Having enemies be a type of a class with a base of abilities can fit well too. Weapons, etc all module well. Game play. Scenes.