Start() public method

public Start ( ) : void
return void
        public override Task OnConnected()
        {
            if (Universe.ViewerCount < 1)
            {
                var thread = new Thread(() => Universe.Start());
                thread.Start();
            }

            Universe.ViewerCount++;

            return(base.OnConnected());
        }
Beispiel #2
0
 void Start()
 {
     Universe = new Universe();
     Universe.Start();
 }
 public void startSimulation(List <Cell> cells, int generation)
 {
     CurrentUniverse = Universe.Start(cells, generation);
 }