Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Actually I want multiple inheritance. That way I can write that a crocodile is a reptile and a swimmer or that camera is a game object and it is collidable but not damageable.

Yes it can make your code more complex, but you can also use it to make the game more clean.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: