hey, i wanna ask what if i have a code like this :
the code i wrote is it true? because i want to use the hitbadguy method if the current stage is stage1 the hitbadguy1 if the current stage is stage2.
please answer need help
if(getWorld().equals(Stage1.class)){
hitBadGuy();
}else if(getWorld().equals(Stage1.class)){
hitBadGuy1();
}
