Difference between revisions of "Structure (C plus plus)"

From WikiManual
Jump to: navigation, search
(First draft)
(No difference)

Revision as of 15:02, 6 January 2006

This is only a proposal initiated by Sprotiel.

This page defines the algorithmic structure of the program in terms of objects, without going into too much coding details.

User interface

If DarwinBots is to become a serious program, it should be able to run from batch files and/or (Python) scripts. Obviously though, a GUI is the prefered mode of interaction for most people and has to be the top priority. However, it should be thought of as a front-end and not be too tightly integrated into the core engine.

Simulation engine

We should have a top-level object which has all the information needed to run a sim. Right now, it's the rather meager EngineClass. Most globals should be integrated into it.