|
Movement in java
How would i go about doing a movement variable or whatever in java.
So Greentfoot.isKeyDown(""); is the code i want to tell the game if a key is pressed and move(); turn(); to move and turn.
How to do this?
or i jsut want to know how to control and add a object in my java game.
|