Answered
if inside if
Game Specification:
im making a game and im having to track a users angle and the angle they face in changes what happens when they press the ,lets say up key.
Problem:
i need to know how to put an if inside and if
eg. if (Key.isDown(Key.UP) {
(here i need to do different actions accrding to the angle he is facing)... so i need an if inside an if...
}
any help highly appreciated
ANdy
im making a game and im having to track a users angle and the angle they face in changes what happens when they press the ,lets say up key.
Problem:
i need to know how to put an if inside and if
eg. if (Key.isDown(Key.UP) {
(here i need to do different actions accrding to the angle he is facing)... so i need an if inside an if...
}
any help highly appreciated
ANdy