Hey everybody,
I want my actor to do something if the world calls a method.
I tried to do it like this:
but it says "incompatible types", pointing at the method-brackets.
World1 world = (World1) getWorld(); if (world.method()) { doSomething(); }