PongUIO/AndroidWars — Issue #6: Inconsistency between Sim::Bot and other simulation state types
Author: Thekian
Created: 2012-02-21 00:28:01+00:00
State: open
Labels: simulation

The current implementation of Bot is somewhat different from other types like Program and Ability. This has the disadvantage of requiring special-case programming and complicates coding.

The advantages of making the implementation of Bot similar to the other types outweigh the disadvantages. Advantages include simplification of code and concepts, and allows the Bot class to support behavioral variants if so desired. The only significant disadvantage is that it takes time to implement without any visible changes to external behavior.

See: Bot.h/.cpp and data/BotD.h . Code for similar types should be relevant, like Program.h/.cpp, data/ProgramD.h and program/*