need help with moving objects
Hello, i'm new to java and i'm building applets with eclipse. I'm stuck on how to move and object to the left of the screen i can move it right of the screen with the
blueTriangle.slowMoveXPosition(50);
but how do i move it back again say 50. I know this easy stuff for you guys.
Do i have to put something on negative positions in the triangle class file?
Any help is much appreciated.
Thanks.
> Hello, i'm new to java and i'm building applets with
> eclipse. I'm stuck on how to move and object to the
> left of the screen i can move it right of the screen
> with the
>
> blueTriangle.slowMoveXPosition(50);
What class is this 'blueTriangle' reference talking about?
I doubt it's a standard one which anyone here would know about. I bet it's something your school provided instead, or another 3rd-party. So ask them.
Your right the teacher wrote the triangle class file.
Would it help if i posted the class file could you look at it and tell me were i'm going wrong.
I can't get in touch with the teacher until next week and it's doing my head.
your help is appreciated.
Thanks.
Message was edited by:
digitalpuree