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.



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

Search: