C# Class SpaceSim.MainWindow

Interaction logic for MainWindow.xaml
Inheritance: System.Windows.Window
Afficher le fichier Open project: zlynn1990/SpaceSim

Méthodes publiques

Свойство Type Description
ClockDelayInSeconds int
FullScreen bool
ProfileDirectories List

Méthodes publiques

Méthode Description
MainWindow ( ) : System

Private Methods

Méthode 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 méthode

public MainWindow ( ) : System
Résultat System

Property Details

ClockDelayInSeconds public_oe static_oe property

public static int ClockDelayInSeconds
Résultat int

FullScreen public_oe static_oe property

public static bool FullScreen
Résultat bool

ProfileDirectories public_oe static_oe property

public static List ProfileDirectories
Résultat List