Attribute Philosophy
When working with attributes, does it entirely matter whether I make them a game attribute or an actor attribute?
For example: I have an attribute called "game.speed." The attribute "game.speed" changes depending on what difficulty levels the user selects on the main menu. Since the "game.speed" attribute only applies to the main actor, couldn't I just as easily make that attribute an "actor attribute?" Are there any major benefits of having that attribute as a "game.attribute?" Or does it not matter in this case? I have attributes for colliding with enemies, picking up objects, etc and just want to make sure they are in the correct places. Thanks for any help!
For example: I have an attribute called "game.speed." The attribute "game.speed" changes depending on what difficulty levels the user selects on the main menu. Since the "game.speed" attribute only applies to the main actor, couldn't I just as easily make that attribute an "actor attribute?" Are there any major benefits of having that attribute as a "game.attribute?" Or does it not matter in this case? I have attributes for colliding with enemies, picking up objects, etc and just want to make sure they are in the correct places. Thanks for any help!
Comments
Asymptoteell