Back to project page Space.Sprint.
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.
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() { } }