00001
00002
00003
00004
00005
00006 namespace GravityChooser
00007 {
00008 using System;
00009 using NewGamePhysics.Physics;
00010
00015 public class GravityChooserState
00016 {
00020 private CelestialObject currentCelestialObject = CelestialObject.Earth;
00021
00025 private EarthGravityModel currentEarthGravityModel = EarthGravityModel.GfcGrid;
00026
00030 int currentTextureVariation = 0;
00031
00035 private double currentGravity = 0.0;
00036
00040 public CelestialObject CurrentCelestialObject
00041 {
00042 get { return this.currentCelestialObject; }
00043 set { this.currentCelestialObject = value; }
00044 }
00045
00049 public EarthGravityModel CurrentEarthGravityModel
00050 {
00051 get { return this.currentEarthGravityModel; }
00052 set { this.currentEarthGravityModel = value; }
00053 }
00054
00058 public int CurrentTextureVariation
00059 {
00060 get { return this.currentTextureVariation; }
00061 set { this.currentTextureVariation = value; }
00062 }
00063
00067 public double CurrentGravity
00068 {
00069 get { return currentGravity; }
00070 set { currentGravity = value; }
00071 }
00072 }
00073 }