Back to project page CircleWorldGDX.
The source code is released under:
MIT License
If you think the Android project CircleWorldGDX listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.fdangelo.circleworld.universeview.tilemap; /*from w w w. java 2 s . c om*/ import com.fdangelo.circleworld.universeengine.tilemap.Planet; import com.fdangelo.circleworld.universeview.UniverseView; public class PlanetView extends TilemapCircleView { private UniverseView universeView; private Planet planet; public UniverseView getUniverseView() { return universeView; } public Planet getPlanet() { return planet; } public final void initPlanet(final Planet planet, final UniverseView universeView) { this.planet = planet; this.universeView = universeView; init(planet); } @Override public void recycle() { remove(); universeView = null; planet = null; super.recycle(); } }