StarSystem.Rule0 C# (CSharp) Méthode

Rule0() public méthode

public Rule0 ( float dt, World, world ) : void
dt float
world World,
Résultat void
  public void Rule0(float dt, World world)
  {
    switch (s0)
    {

      case -1:
        Planets = (

      (PointGenerator.GeneratePoints(50)).Select(__ContextSymbol15 => new { ___p00 = __ContextSymbol15 })
      .Select(__ContextSymbol16 => new Planet(__ContextSymbol16.___p00, this))
      .ToList<Planet>()).ToList<Planet>();
        s0 = 0;
        return;
      case 0:
        if (!(false))
        {

          s0 = 0;
          return;
        }
        else
        {

          s0 = -1;
          return;
        }
      default: return;
    }
  }