5 ms·
That solution is more burdensome than OOP
by adnzzzzZ 8y ago
That solution is more burdensome than OOP
- Epskampie 8y agoDiagree. Unity works like this, and it’s great for attaching multiple behaviours to an object (i.e. a Player can be Hit, but an Enemy as well). It saves you having to make up a inheritence hierarchy that never seems to work out (Player extends Hittable or something? But it also needa these 10 other behaviours...)
- coldtea 8y agoNot at all. It also has excellent visibility, extensibility, and debugabillity.