X-Git-Url: https://git.llucax.com/z.facultad/75.68/celdas.git/blobdiff_plain/09715c02260f695a67bda6667961b6736bb0a7a8..be06b7d24e8fb018ac06f36c907b46f642615624:/trunk/src/breve/robot/Demo-2wheels2-5.tz diff --git a/trunk/src/breve/robot/Demo-2wheels2-5.tz b/trunk/src/breve/robot/Demo-2wheels2-5.tz index 4e44234..da40ac7 100644 --- a/trunk/src/breve/robot/Demo-2wheels2-5.tz +++ b/trunk/src/breve/robot/Demo-2wheels2-5.tz @@ -16,9 +16,11 @@ CeldasControl : DemoController { obs = new CeldasObstacle . obs init at-location (0,1,10)with-size (20,3,1). obs set-direction at (0,0,1) . + obs = new CeldasObstacle. obs init at-location (-25,1,0) with-size (20,3,1). obs set-direction at (0,0,1). + obs = new CeldasObstacle. obs init at-location (-10,1,-10) with-size (1,3,20). obs set-direction at (1,0,0). @@ -27,6 +29,10 @@ CeldasControl : DemoController { obs init at-location (-10,1,10) with-size (1,3,20). obs set-direction at (1,0,0). + obs = new CeldasObstacle. + obs init at-location (10,1,10) with-size (1,3,20). + obs set-direction at (1,0,0). + vehicle = new CeldasVehicle. self watch item vehicle.