Android Open Source - Space.Sprint Pick Up Manager






From Project

Back to project page Space.Sprint.

License

The source code is released under:

GNU General Public License

If you think the Android project Space.Sprint listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.obisapps.spacerun;
//  w ww.  j ava2s.c o  m
import java.util.Random;

import android.content.Context;
import android.graphics.Canvas;

public class PickUpManager {

  
  Context context;
  Canvas canvas;
  
  int pickupNum;
  
  Random randNum = new Random();
  
  
  public PickUpManager(Context pContext) {
  
    context = pContext;
    
    
  }

  
  public void init(Canvas pCanvas) {
    
    canvas = pCanvas;
    
    pickupNum = 0;
    
  }
  
  
  
  public void update() {
    
    /*
    if (pickupNum < 10) {
      
      createPickUp();
      
    }
    */
    
    
  }
  
  
  public void draw() {
    
    
  }
  
  
  
  private void createPickUp() {
        
  }
  
  
  
  
  
}




Java Source Code List

com.obisapps.spacerun.GameActivity.java
com.obisapps.spacerun.GameEngine.java
com.obisapps.spacerun.GameView.java
com.obisapps.spacerun.HighScoreDBAdapter.java
com.obisapps.spacerun.HighScoreDatabaseHelper.java
com.obisapps.spacerun.LevelCharacter.java
com.obisapps.spacerun.PhysicsEngine.java
com.obisapps.spacerun.PickUpManager.java
com.obisapps.spacerun.PlayerCharacter.java
com.obisapps.spacerun.RenderThread.java
com.obisapps.spacerun.SoundManager.java
com.obisapps.spacerun.SpaceBackground.java
com.obisapps.spacerun.SpaceSprint.java