Biblioteca Java - Blame information for rev 3
Subversion Repositories:
Rev | Author | Line No. | Line |
---|---|---|---|
3 | mihai | 1 | /* |
2 | * Test.java | ||
3 | */ | ||
4 | package lab.scd.fire.robot; | ||
5 | |||
6 | /** | ||
7 | * Class created by @author Mihai HULEA at Feb 23, 2005. | ||
8 | * | ||
9 | * This class is part of the labs project. | ||
10 | * | ||
11 | * Aplicatia realizeaza controlul unui robot. Robotul este deplasat in pozitia | ||
12 | * corespunzatoare citita de la operator. Finalizati aplicatia. | ||
13 | */ | ||
14 | public class Test { | ||
15 | |||
16 | public static void main(String[] args){ | ||
17 | UserInterface UI = new UserInterface(); | ||
18 | |||
19 | Robot robo= new Robot(); | ||
20 | |||
21 | MotorController MC1 = new MotorController( | ||
22 | |||
23 | new Plane(0), UI, robo); | ||
24 | |||
25 | MotorController MC2 = new MotorController( | ||
26 | |||
27 | new Plane(1), UI, robo); | ||
28 | |||
29 | MotorController MC3 = new MotorController( | ||
30 | |||
31 | new Plane(2), UI, robo); | ||
32 | |||
33 | MC1.start(); | ||
34 | MC2.start(); | ||
35 | MC3.start(); | ||
36 | } | ||
37 | } |