Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 7 and Version 8 of code/doc/AI


Ignore:
Timestamp:
Nov 30, 2015, 3:57:55 PM (9 years ago)
Author:
gania
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/AI

    v7 v8  
    1616
    1717DivisionController makes 4 spaceships fly in formation. It manages most of the logics of the division, which consists of 1 DivisionController, 1 SectionController and 2 Wingmen.
     18
     19Hierarchy looks in a following way:
     20CommonController -> FlyingController -> FightingController -> ActionpointController,
     21ActionpointController -> DivisionController, SectionController, WingmanController.
     22 * CommonController stores all the basic functions being used
     23 * FlyingController handles flying functionality
     24 * FightingController handles fighting functionality
     25 * ActionpointController makes decisions if this is DivisionController
     26 * DivisionController executes ActionpointController::action() each 1 second
     27 * SectionController follows DivisionController and, when fighting, tries to find itself a good enemy to shoot at
     28 * WingmanController follows its leader (either DivisionController or SectionController) and, when fighting, attacks the same target.
    1829
    1930== Fighting ==