where should damage logic go Game Engine or Character Class

Posted by numerical25 on Stack Overflow See other posts from Stack Overflow or by numerical25
Published on 2010-05-22T00:06:11Z Indexed on 2010/05/22 0:10 UTC
Read the original article Hit count: 303

I am making a game and I am trying to decide what is the best practice for exchanging damage between two objects on the screen. Should the damage be passed directly between the two objects or should it be pass through a central game engine that decides the damage and different criteria's such as hit or miss or amount dealt.

So overall what is the best practice.

© Stack Overflow or respective owner

Related posts about game-development

Related posts about as3