2
athlon
7y

Is storing game score as static int is a good idea? I know you should avoid them, but is it the same in this case?

Comments
  • 2
    Why not an int inside a game state object? Or something similar. Not familiar with game developing.
  • 1
    This is waaaaay to broad
  • 0
    I always start with finding a OO solution and only in the worst case I fall back to static somethings. Instead try injecting it with a object like already mentioned above me.
Add Comment