Join Slack
Powered by
interacting with java code, within external World ...
# announcements
s
sreich
08/27/2016, 9:01 PM
interacting with java code, within external World class they have
Copy code
public <T extends BaseSystem> T getSystem(Class<T> type) { return (T) systems.get(type); }
i'd like to make an extension function to instead allow me to just do world.system(Thing::class)
2
Views
Open in Slack
Previous
Next