- Main Page
- Classes
- Files

- File List

# C:/Users/Andreas Schiffler/Desktop/SVN/NewGamePhysics/GravityChooser/GravityChooserProgram.cs

    00001 //-----------------------------------------------------------------------------
    00002 // GravityChooserProgram.cs
    00003 // (A. Schiffler, 2009-2011)
    00004 //-----------------------------------------------------------------------------
    00005
    00006 namespace GravityChooser
    00007 {
    00008     using System;
    00009
    00013     static class GravityChooserProgram
    00014     {
    00018         static void Main()
    00019         {
    00020             bool fullscreen = false;
    00021             string[] args = System.Environment.GetCommandLineArgs();
    00022             if ((args.Length == 2) && (!string.IsNullOrEmpty(args[1])))
    00023             {
    00024                 if (args[1].Equals("/fullscreen"))
    00025                 {
    00026                     fullscreen = true;
    00027                 }
    00028             }
    00029
    00030             using (GravityChooser game = new GravityChooser(fullscreen))
    00031             {
    00032                 game.Run();
    00033             }
    00034         }
    00035     }
    00036 }
    00037