diff options
author | Daniel Schadt <kingdread@gmx.de> | 2020-04-27 15:47:27 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2020-04-27 15:47:27 +0200 |
commit | 7af05afb2cf80af097fd034fef0fcdaeb399eb6d (patch) | |
tree | 82e47ca1e384970e646e9ffbba4cb3fcdf3fa5d6 /src/main.rs | |
parent | f750818b80ce60a6f9f587cd9ee393d60829c0ac (diff) | |
download | evtclib-7af05afb2cf80af097fd034fef0fcdaeb399eb6d.tar.gz evtclib-7af05afb2cf80af097fd034fef0fcdaeb399eb6d.tar.bz2 evtclib-7af05afb2cf80af097fd034fef0fcdaeb399eb6d.zip |
combine AgentKind and AgentName
Both of those are only used in lockstep anyway. If the AgentKind was
Player, the AgentName was also Player. Having the possibility of
mis-matched enum variants here was bad and always required an extra step
of "unwrap" that was not necessary.
This combination is the first step to simplify the handling of different
agent kinds.
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions