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

17 lines
336 B
Java

package com.experiment;
public class FingerMan extends Role {
public FingerMan(){
super("段氏", "0003", 9000);
}
public FingerMan(String name, String id, int health){
super(name, id, health);
}
public void finishingMove(){
System.out.println(getName()+"发动了"+"一阳指");
}
}