17 lines
336 B
Java
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()+"发动了"+"一阳指");
|
|
}
|
|
}
|