Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Parent Constucticon class to the Builders
- * By: Alejandro Antorcha
- */
- package Lesson3;
- import kareltherobot.*;
- public class Constructicon extends UrRobot{
- public Constructicon(int x, int y, Direction d, int b) {
- super(x, y, d, b);
- }
- /**
- * Turns of the robot if this method is not overridden
- * @param
- * @return void
- */
- public void build() {
- turnOff();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement