How to stop/start class manually

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Samh Eldin
    New Member
    • Oct 2016
    • 1

    #1

    How to stop/start class manually

    I'm creating a game and I want some classes to stop functioning or make them start when i want to not when I start the game..
    Like when the player click on start\play the (player,backgro und... ) classes start work and when Game_Over some classes stop
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    You should look into using Tread class and/or the BackgroundWorke r class.

    The links posted are to the Microsoft MSDN documentation for these classes and they contain details about what the classes do along with code examples and links to other resources that may help you.

    Comment

    Working...