-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFFFl.java
More file actions
35 lines (32 loc) · 1013 Bytes
/
Copy pathFFFl.java
File metadata and controls
35 lines (32 loc) · 1013 Bytes
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
package studyjava;
public class FFFl {
public static void main(String[] args) {
for(FL fl : FL.values()){
switch(fl) {
case TANK:
System.out.println("坦克");
break;
case WIZARD:
System.out.println("法师");
break;
case ASSASSIN:
System.out.println("刺客");
break;
case ASSIST:
System.out.println("辅助");
break;
case WARRIOR:
System.out.println("近战");
break;
case RANGED:
System.out.println("远程");
break;
case PUSH:
System.out.println("推进");
break;
case FARMING:
System.out.println("打野");
break;}
}
}
}