CoreJava/com/experiment/SwordSaint.java
2024-05-09 09:10:51 +08:00

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()+"发动了"+"六脉剑");
}
}