powerbot/RSBot-API — pull request #158 by HelBorn (2012-04-26 11:57:35+00:00)
Title: Banking API.

Written from scratch. The "Banking" class contains all the banking methods. It also uses a "Bank" wrapper as it gives the script writer the ability to interact with the bank themselves for walking to/turning camera etc., as that isn't really the banking class's responsiblity. Also means they can filter banks to their preference. I could re-write it to only use one class if people would prefer, but this does seem like a much flexible API than the previous RSBot provided.

Example:
```java
final Bank b = Banking.getNearestBank();
if(b != null && b.isOnScreen()) {
Banking.openBank(b);
}
```