// Path: 1.3.02-Exercise-DrawAStarfield/core/src/com/udacity/gamedev/starfield/Starfield.java
// public class Starfield extends ApplicationAdapter {
// 
//     private static final float STAR_DENSITY = 0.01f;
//     ShapeRenderer shapeRenderer;
//     Array<Vector2> stars;
// 
//     @Override
//     public void create() {
//         // TODO: Initialize a shapeRenderer
// 
//         // TODO: Call initStars
// 
//     }
// 
//     public void initStars(float density) {
//         // TODO: Figure out how many stars to draw. You'll need the screen dimensions, which you can get using Gdx.graphics.getWidth() and Gdx.graphics.getHeight().
// 
//         // TODO: Create a new array of Vector2's to hold the star positions
// 
//         // TODO: Use java.util.Random to fill the array of star positions
// 
//     }
// 
//     @Override
//     public void resize(int width, int height) {
//         initStars(STAR_DENSITY);
//         shapeRenderer = new ShapeRenderer();
//     }
// 
//     @Override
//     public void render() {
//         // TODO: Make the night sky black
//         Gdx.gl.glClearColor(1, 0, 0, 1);
//         Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
// 
//         // TODO: Begin a shapeRenderer batch using ShapeType.Point
// 
//         // TODO: Loop through the star positions and use shapeRenderer to draw points
// 
//         // TODO: End the shapeRenderer batch
// 
//     }
// 
//     @Override
//     public void dispose() {
//         // TODO: Dispose of our ShapeRenderer
// 
//         super.dispose();
//     }
// }


import org.robovm.apple.foundation.NSAutoreleasePool;
import org.robovm.apple.uikit.UIApplication;
import com.badlogic.gdx.backends.iosrobovm.IOSApplication;
import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration;
import com.udacity.gamedev.starfield.Starfield;
package com.udacity.gamedev.starfield;



public class IOSLauncher extends IOSApplication.Delegate {
    @Override
    protected IOSApplication createApplication() {
        IOSApplicationConfiguration config = new IOSApplicationConfiguration();
// Path: 1.3.02-Exercise-DrawAStarfield/core/src/com/udacity/gamedev/starfield/Starfield.java
// public class Starfield extends ApplicationAdapter {
// 
//     private static final float STAR_DENSITY = 0.01f;
//     ShapeRenderer shapeRenderer;
//     Array<Vector2> stars;
// 
//     @Override
//     public void create() {
//         // TODO: Initialize a shapeRenderer
// 
//         // TODO: Call initStars
// 
//     }
// 
//     public void initStars(float density) {
//         // TODO: Figure out how many stars to draw. You'll need the screen dimensions, which you can get using Gdx.graphics.getWidth() and Gdx.graphics.getHeight().
// 
//         // TODO: Create a new array of Vector2's to hold the star positions
// 
//         // TODO: Use java.util.Random to fill the array of star positions
// 
//     }
// 
//     @Override
//     public void resize(int width, int height) {
//         initStars(STAR_DENSITY);
//         shapeRenderer = new ShapeRenderer();
//     }
// 
//     @Override
//     public void render() {
//         // TODO: Make the night sky black
//         Gdx.gl.glClearColor(1, 0, 0, 1);
//         Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
// 
//         // TODO: Begin a shapeRenderer batch using ShapeType.Point
// 
//         // TODO: Loop through the star positions and use shapeRenderer to draw points
// 
//         // TODO: End the shapeRenderer batch
// 
//     }
// 
//     @Override
//     public void dispose() {
//         // TODO: Dispose of our ShapeRenderer
// 
//         super.dispose();
//     }
// }


// Path: 1.3.02-Solution-DrawAStarfield/ios/src/com/udacity/gamedev/starfield/IOSLauncher.java
import org.robovm.apple.foundation.NSAutoreleasePool;
import org.robovm.apple.uikit.UIApplication;
import com.badlogic.gdx.backends.iosrobovm.IOSApplication;
import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration;
import com.udacity.gamedev.starfield.Starfield;

package com.udacity.gamedev.starfield;



public class IOSLauncher extends IOSApplication.Delegate {
    @Override
    protected IOSApplication createApplication() {
        IOSApplicationConfiguration config = new IOSApplicationConfiguration();
        return new IOSApplication(new Starfield(), config);