Skip to content

Instantly share code, notes, and snippets.

View oziguerra's full-sized avatar

Oziel Guerra oziguerra

View GitHub Profile
public class PrimeNumbers
public final static int MIN = 1;
public final static int MAX = 1000;
public static void main(String[] args)
int count = primeRange(MIN, MAX);
View gist:3a44ea0d9ceaba8ff5e5
protected void actionOnTouch(float x, float y) {
//Increase/decrease the speed of the ball making the ball move towards the touch
//mBallSpeedX = (x - mBallX)*2;
//mBallSpeedY = (y - mBallY)*2;
mBallX = x;
mBallY = y;