Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Lesson3;
- import kareltherobot.*;
- public class WallBuilder extends Constructicons{
- /**
- * @param x
- * @param y
- * @param d
- * @param b
- */
- public WallBuilder(int x, int y, Direction d, int b){
- super(x, y, d, b);
- }
- /**
- * Just builds the walls.
- */
- public void build(){
- for(int index = 0; index < 4; index++){
- beepNMove();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement