C# Class SpaceSim.MainWindow

Interaction logic for MainWindow.xaml
Inheritance: System.Windows.Window
ファイルを表示 Open project: zlynn1990/SpaceSim

Public Properties

Property Type Description
ClockDelayInSeconds int
FullScreen bool
ProfileDirectories List

Public Methods

Method Description
MainWindow ( ) : System

Private Methods

Method Description
DrawFrame ( SpaceSim.Physics.TimeStep timeStep, FpsManager frameTimer ) : void

Draws all the physics bodies and UI elements.

GameLoop ( ) : void

Main game loop - update - draw - sleep

InitializeScreen ( ) : void
LoadGui ( ) : void
LoadKernels ( ) : void

Load GPU kernels for planet rendering

LoadSolarSystem ( ) : void
OnClosing ( object sender, CancelEventArgs e ) : void
OnKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnKeyUp ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnScroll ( object sender, System.Windows.Input.MouseWheelEventArgs e ) : void
ResolveMassiveBodyParents ( ) : void
ResolveSpaceCraftParents ( ) : void
Update ( SpaceSim.Physics.TimeStep timeStep ) : void

Updates the physics bodies and resolves all forces.

WriteFrameToScreen ( ) : void

Method Details

MainWindow() public method

public MainWindow ( ) : System
return System

Property Details

ClockDelayInSeconds public_oe static_oe property

public static int ClockDelayInSeconds
return int

FullScreen public_oe static_oe property

public static bool FullScreen
return bool

ProfileDirectories public_oe static_oe property

public static List ProfileDirectories
return List