Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main extends AbstractScript {
- AnotherClass ac = new AnotherClass(this);
- public int onLoop() {
- ac.walk();
- return 100;
- }
- }
- public class AnotherClass {
- Main script;
- public AnotherClass(Main script) {
- this.script = script;
- }
- public void walk() {
- script.getWalking().walk(new Tile(0,0,0));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement