I'm making a collision detection system, and I want to know what the best approach is. When my main character is dead (hp = 0), should I make a separate method that ends the game, or should I do it in that method in my collision detection? The thing is that the endGame method I made is in another class than the collision detection. I could obviously move it to the same class, but I don't know if that's preferred or not, or if I should just do all if it in the same method. I appreciate all replies!