Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
154 views

Should state and behavior be combined for Buffs? Cannot decide between data-driven and OOP approach

I'm writing a 2D roguelike that uses an Entity Component System and I'm having trouble deciding between the traditional OOP approach versus a data-driven approach to implementing buffs and debuffs. ...
Ryan Peschel's user avatar
3 votes
3 answers
2k views

OOP implementation of BUFFS and Stats. Suggestion

I am developing an MMORPG server using NodeJS. I am not sure how to implement Buffs, i mean, equipped objects or used skills have effects on the Player() which has many Stats(), some of them have a ...
Mattia Manzo Manzati's user avatar