MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / Fish

Method Fish

AgentBench.old/src/tasks/card_game/logic/src/fish.cpp:71–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71Fish::Fish(int _hp, int _atk, int _def, int _pos, int _id, FishSet* _ally, FishSet* _hostile):
72 hp(_hp), atk(_atk), def(_def), pos(_pos), id(_id), ally(_ally), hostile(_hostile) {
73 max_hp = hp;
74}
75
76bool Fish::is_valid_fish_type(int type){
77 // return type >= 0 && type <= 2;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected