@@ -36,7 +36,7 @@ public class SolGame {
3636 private final ObjectManager myObjectManager ;
3737 private final SolApplication myCmp ;
3838 private final DraMan myDraMan ;
39- private final PlanetMananger myPlanetMananger ;
39+ private final PlanetManager myPlanetManager ;
4040 private final TextureManager myTextureManager ;
4141 private final ChunkManager myChunkManager ;
4242 private final PartMan myPartMan ;
@@ -95,7 +95,7 @@ public SolGame(SolApplication cmp, boolean usePrevShip, TextureManager textureMa
9595 myAbilityCommonConfigs = new AbilityCommonConfigs (myEffectTypes , myTextureManager , gameColors , mySoundManager );
9696 hullConfigManager = new HullConfigManager (myShipBuilder , FileManager .getInstance (), textureManager , myItemManager , myAbilityCommonConfigs , mySoundManager );
9797 myNames = new SolNames ();
98- myPlanetMananger = new PlanetMananger (myTextureManager , hullConfigManager , gameColors , myItemManager );
98+ myPlanetManager = new PlanetManager (myTextureManager , hullConfigManager , gameColors , myItemManager );
9999 SolContactListener contactListener = new SolContactListener (this );
100100 myFractionMan = new FractionMan (myTextureManager );
101101 myObjectManager = new ObjectManager (contactListener , myFractionMan );
@@ -117,7 +117,7 @@ public SolGame(SolApplication cmp, boolean usePrevShip, TextureManager textureMa
117117 myTimeFactor = 1 ;
118118
119119 // from this point we're ready!
120- myPlanetMananger .fill (myNames );
120+ myPlanetManager .fill (myNames );
121121 myGalaxyFiller .fill (this );
122122 ShipConfig startingShip = usePrevShip ? SaveManager .readShip (hullConfigManager , myItemManager ) : null ;
123123 createPlayer (startingShip );
@@ -237,7 +237,7 @@ public void update() {
237237 myTimeStep = Const .REAL_TIME_STEP * myTimeFactor ;
238238 myTime += myTimeStep ;
239239
240- myPlanetMananger .update (this );
240+ myPlanetManager .update (this );
241241 myCam .update (this );
242242 myChunkManager .update (this );
243243 myMountDetectDrawer .update (this );
@@ -279,7 +279,7 @@ public void draw() {
279279
280280 public void drawDebug (GameDrawer drawer ) {
281281 if (DebugOptions .GRID_SZ > 0 ) myGridDrawer .draw (drawer , this , DebugOptions .GRID_SZ , drawer .debugWhiteTex );
282- myPlanetMananger .drawDebug (drawer , this );
282+ myPlanetManager .drawDebug (drawer , this );
283283 myObjectManager .drawDebug (drawer , this );
284284 if (DebugOptions .ZOOM_OVERRIDE != 0 ) myCam .drawDebug (drawer );
285285 drawDebugPoint (drawer , DebugOptions .DEBUG_POINT , DebugCol .POINT );
@@ -318,8 +318,8 @@ public TextureManager getTexMan() {
318318 return myTextureManager ;
319319 }
320320
321- public PlanetMananger getPlanetMan () {
322- return myPlanetMananger ;
321+ public PlanetManager getPlanetMan () {
322+ return myPlanetManager ;
323323 }
324324
325325 public PartMan getPartMan () {
@@ -376,12 +376,12 @@ public FractionMan getFractionMan() {
376376 }
377377
378378 public boolean isPlaceEmpty (Vector2 pos , boolean considerPlanets ) {
379- Planet np = myPlanetMananger .getNearestPlanet (pos );
379+ Planet np = myPlanetManager .getNearestPlanet (pos );
380380 if (considerPlanets ) {
381381 boolean inPlanet = np .getPos ().dst (pos ) < np .getFullHeight ();
382382 if (inPlanet ) return false ;
383383 }
384- SolSystem ns = myPlanetMananger .getNearestSystem (pos );
384+ SolSystem ns = myPlanetManager .getNearestSystem (pos );
385385 if (ns .getPos ().dst (pos ) < SunSingleton .SUN_HOT_RAD ) return false ;
386386 List <SolObject > objs = myObjectManager .getObjs ();
387387 for (int i = 0 , objsSize = objs .size (); i < objsSize ; i ++) {
0 commit comments