According to the java web site: 'For &, the result value is true if both operand values are true; otherwise, the result is false.' If I have understood this wrong please correct me. What I want to do there is if Die != 1 and Greenfoot.getRandomNumber(3) == 1, the stuff inside the '{, }' brackets goes, and not if only one or neither of them equal these values.
I may be doing something wrong here, please tell me if I am.
2009/11/30
Global Men
2009/11/30
Eco-bear and the snake menace V1
2009/11/29
Eco-bear and the snake menace V1
2009/11/25
boundless-actor-test
2009/11/16
Eco-bear and the snake menace V1
2009/11/14
Eco-bear and the snake menace V1
2009/11/9
Pyro Sand New
2009/11/8
Pyro Sand New
2009/11/5
Cyan Sphere of Doom: Galactic War and the Imperium Novum