SHARE
TWEET

Untitled

a guest Sep 11th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class DyingState implements State {
  2.  
  3.     @Override
  4.     public void describe(Nea nea) {
  5.         if (nea.getHp() == Hp.DYING) {
  6.             System.out.println("---當前狀態描述:"
  7.                     + nea.getClass().getSimpleName() + "倒地只能爬行等待其他人類救援!---");
  8.         }
  9.     }
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top