Advertisement
aleantorcha

Untitled

Nov 21st, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. /**
  2. * Parent Constucticon class to the Builders
  3. * By: Alejandro Antorcha
  4. */
  5. package Lesson3;
  6. import kareltherobot.*;
  7.  
  8. public class Constructicon extends UrRobot{
  9.  
  10. public Constructicon(int x, int y, Direction d, int b) {
  11. super(x, y, d, b);
  12. }
  13.  
  14. /**
  15. * Turns of the robot if this method is not overridden
  16. * @param
  17. * @return void
  18. */
  19. public void build() {
  20. turnOff();
  21. }
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement