CoreJava/com/experiment/FingerMan.java

17 lines
336 B
Java
Raw Normal View History

2024-05-09 09:10:51 +08:00
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()+"发动了"+"一阳指");
}
}