Angel Arts Grafix
Mitglied
Hallo!
Ich habe da mal eine frage: Was mach ich falsch?
Deklaration :
static Checkbox formation = new Checkbox("In Formation");
Abfrage
if(formation == checked ){
// tue action 1
}
esle{
// tue action 2
}
könnt ihr mir vieleicht sagen wie ich in einer if/esle abfrage ob ein checkbox an oder aus ist?
Ich habe da mal eine frage: Was mach ich falsch?
Deklaration :
static Checkbox formation = new Checkbox("In Formation");
Abfrage
if(formation == checked ){
// tue action 1
}
esle{
// tue action 2
}
könnt ihr mir vieleicht sagen wie ich in einer if/esle abfrage ob ein checkbox an oder aus ist?