Biblioteca Java - Blame information for rev 32
Subversion Repositories:
(root)/Courses and labs samples/ISP/Exemple_ISP_Cluj_2015/ElevatorCurs/src/elevatorcurs/ElevatorApp.java
Rev | Author | Line No. | Line |
---|---|---|---|
32 | mihai | 1 | /* |
2 | * To change this license header, choose License Headers in Project Properties. | ||
3 | * To change this template file, choose Tools | Templates | ||
4 | * and open the template in the editor. | ||
5 | */ | ||
6 | package elevatorcurs; | ||
7 | import elevatorcurs.model.*; | ||
8 | import elevatorcurs.ui.*; | ||
9 | /** | ||
10 | * | ||
11 | * @author Mihai Hulea mihai.hulea@aut.utcluj.ro | ||
12 | */ | ||
13 | public class ElevatorApp { | ||
14 | public static void main(String[] args) { | ||
15 | Elevator e = new Elevator(); | ||
16 | Controller c = new Controller(e); | ||
17 | Simulator s = new Simulator(c, e); | ||
18 | ElevatorUI ui = new ElevatorUI(); | ||
19 | ElevatorMVCController mvcCtrl = new ElevatorMVCController(e, ui ,c); | ||
20 | |||
21 | // c.addJob(new Job(2)); | ||
22 | s.simulate(); | ||
23 | |||
24 | } | ||
25 | } |