I have some head pain with putting some functionality in correct class. For example I have an operation like this:
- player selects world space tile
- game detects which tile is selected
- game detects what objects it holds
- game analyzes in what state is player. If it's in moving state - when it moves player to a selected tile. If it's in attack state - when player's character attacks nearby actor.
would it be right if i put code like that in PlayStateUI class?