if(Mouse.isButtonDown(0))
        {
            if((x > 2 + dragAmtX) && (x < 2 + width + dragAmtX) && (y > 60 + dragAmtY) && (y < 60 + height + dragAmtY))
...

Java Draggable Box

by https://www.google.com/accounts/o8/id?id=AItOawmst0sW9xXK8PoImFIqsiW5GmqKEarDFMo, December 23, 2011 11:14, 1 refactoring, tagged with game, box, drag, draggable, mouse, click

Hey.
I've been trying to m...

55502f40dc8b7c769880b10874abc9d0 Talk
public void draw()
	{
		switch(direction)
...

Java Snake Game Logic?

by gmaster1440.myopenid.com, May 25, 2009 02:55, 2 refactorings, tagged with java, game, snake game, snake, logic, timer, pause

I'm having a lot of trouble...

4b25b1e093c50b62cdfb4a84d6d3a21e Talk