Guest User

Untitled

a guest
Mar 16th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. public interface DoorType{
  2. public RSTile location();
  3. }
  4.  
  5. public class Door {
  6.  
  7. ArrayList<DoorType> doorMain = new ArrayList<DoorType>();
  8.  
  9. public class Open implements DoorType{
  10.  
  11. Open(){
  12.  
  13. }
  14.  
  15.  
  16.  
  17. @Override
  18. public RSTile location() {
  19. doorMain.add(new Open());
  20. return null;
  21. }
  22.  
  23. }
  24. }
Add Comment
Please, Sign In to add comment