forked from cuongquangnam/CZ2002-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
StaffHomePageView.java
36 lines (27 loc) · 947 Bytes
/
StaffHomePageView.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package com.views;
import com.controllers.*;
public class StaffHomePageView extends View {
public void start() {
System.out.println("Staff");
System.out.println("Welcome, please make a selection:");
System.out.println("1. Modify movie listing");
System.out.println("2. Configure System Settings");
System.out.println("3. Modify cinema showtime and movies to be shown");
System.out.println("4. Logout");
int choice = IOController.readChoice(1, 4);
switch (choice) {
case 1:
intent(this, new ModMovieListView());
break;
case 2:
break;
case 3:
intent(this, new ModShowListView());
break;
case 4:
break;
default:
System.out.println("Invalid selection.");
}
}
}