Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public interface DoorType{
- public RSTile location();
- }
- public class Door {
- ArrayList<DoorType> doorMain = new ArrayList<DoorType>();
- public class Open implements DoorType{
- Open(){
- }
- @Override
- public RSTile location() {
- doorMain.add(new Open());
- return null;
- }
- }
- }
Add Comment
Please, Sign In to add comment