17 lines
339 B
Java
17 lines
339 B
Java
package com.experiment;
|
|
|
|
public class SwordSaint extends Role {
|
|
|
|
public SwordSaint(){
|
|
super("剑圣", "0002", 8000);
|
|
}
|
|
|
|
public SwordSaint(String name, String id, int health){
|
|
super(name, id, health);
|
|
}
|
|
|
|
public void finishingMove(){
|
|
System.out.println(getName()+"发动了"+"六脉剑");
|
|
}
|
|
}
|