Advertisement
Guest User

Boat.java

a guest
Apr 30th, 2011
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. /**
  2. *
  3. * @author Damien Bell <SkyeShatter@gmail.com>
  4. */
  5. public class Boat{
  6. private int posX;
  7. private int posY;
  8. private int width;
  9. private int numBoats;
  10. public int health;
  11. public int used;
  12. public int orientation;
  13. public char letter;
  14. public int[] location;
  15. public String name;
  16.  
  17. public int getNumBoats(){
  18. return numBoats;
  19. } // End get NumBoats
  20. public void setNumBoats(int x){
  21. x= numBoats;
  22. }
  23.  
  24. }// end class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement