News for hackers. Stuff that matters.
Re:The faster you unlearn OOP, the better for you and your s... by jryan49 on Sunday November 25, 2018 @09:25AM (#18526982)
I think damage to the weapon could still be handled in the Hit class, because Hit has a reference to Player and Monster and Weapon. You could even create different types of Hit classes that could execute different kinds of Hit behavior like this.

In that case it may be better to rename it to HitStrategy?

There are no comments on this comment yet.