StevensSEC / pokemonbattlelib

A portable library for accurately simulating Pokemon battles.
GNU General Public License v3.0
13 stars 2 forks source link

`AgentTarget` does not contain the pokemon or the team when marshalled into JSON #374

Closed dyc3 closed 3 years ago

dyc3 commented 3 years ago

Current Behavior

Marshalling AgentParty produces

{
    "Party": 1,
    "Slot": 0
}

Expected Behavior

I expected it to include all the fields from AgentTarget and target.

Additional context Add any other context about the problem here.