i want to check, if a certain actor is around me, and if it is, trigger a reaction. My main Problem is, how do i say which actor? The documentation said its this: "java.lang.Class", but idk what it is, pls help
if(!getNeighbours(50, true, Tankstelle.class).isEmpty() )
//trigger
Or
import java.util.List;
List<Tanksettle> ts= getNeighbours (50, true, Tanksettle.class) ;
if(ts.size()! = 0 )
Get out from the class
else get in