- Joined
- Nov 3, 2013
- Messages
- 609
- Thread Author
- #1
@Cloud @Arbiter
Can you push the next() and generationTime() methods up into the Path class? Otherwise I have to do this:
Which seems a bit silly 
Can you push the next() and generationTime() methods up into the Path class? Otherwise I have to do this:
Code:
Path path = pathBuilder.build(Players.getLocal(), bank.getArea());
if(path instanceof RegionPath) return ((RegionPath) path).getNext().getPosition().minimap();
else if (path instanceof WebPath)return ((WebPath) path).getNext().getPosition().minimap();
Last edited: