aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2020-04-27 15:47:27 +0200
committerDaniel Schadt <kingdread@gmx.de>2020-04-27 15:47:27 +0200
commit7af05afb2cf80af097fd034fef0fcdaeb399eb6d (patch)
tree82e47ca1e384970e646e9ffbba4cb3fcdf3fa5d6 /src/main.rs
parentf750818b80ce60a6f9f587cd9ee393d60829c0ac (diff)
downloadevtclib-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