I have three states for two booleans:
_shouldViewMoveUp = true
_shouldViewMoveDown = false
_shouldViewMoveUp = false
_shouldViewMoveDown = false
_shouldViewMoveUp = false
_shouldViewMoveDown = true
We need to track for both boolean variables wether is false/true when there is changes in the keyword frame. I want to design my code to look better.
I'm not sure how to do it with enum or one boolean. Can you explain how I can make my code tidy or just the way it is right?
Aucun commentaire:
Enregistrer un commentaire