Guest User

Wall

a guest
Jun 19th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.36 KB | None | 0 0
  1. public class Wall extends Location {
  2.   int r, c;
  3.  
  4.     public Wall (int r, int c) {
  5.     super (r, c);
  6.     }
  7.  
  8.     public boolean isValid () {
  9.         return false;
  10.     }
  11.    
  12.     public boolean hasDot() {
  13.       return false;
  14.     }
  15.    
  16.     public boolean isOccupied() {
  17.       return false;
  18.     }
  19.    
  20.     public void setDot (Dot d) {}
  21.    
  22.    
  23.    
  24. }
Add Comment
Please, Sign In to add comment