Commit 1a3a09de by 李进峰

query playerName

parent 6f96eb35
...@@ -762,4 +762,8 @@ public class GameEnv implements Serializable{ ...@@ -762,4 +762,8 @@ public class GameEnv implements Serializable{
} }
return true; return true;
} }
// 查询玩家
public String queryPlayerName() {
return this.npcClassIndex.get("玩家").getNpcInstances().get(0).getName();
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment