Hacker News new | ask | show | jobs
by baklazan 209 days ago
You can do the very same with inheritance, where `Player` and `Monster` inherit `Flying`
1 comments

What about walking monsters? Another inheritance branch for those? And other subtrees for other effects? What about making those effects temporary?