Skip to content
q-wertz edited this page May 16, 2022 · 3 revisions

An overview of the important classes is depicted in the UML diagram below. An introduction to UML class diagrams can be found e.g. here.

  • Outlined are the classes you have direct contact with and the classes they are inheriting from.
  • In the top part of the class are the attributes ("member variables") the lower part shows the methods of the class ("member functions").
  • The arrows can be read "is a child of" or "extends" and outline the inheritance of classes.
  • Methods shown in italic are pure virtual.
  • Missing are the special member functions and most of the private members and methods (). An exception is the pure virtual Think(…) function that has to be implemented in your Player, Headquarter and Base classes and is executed by the game framework in every iteration.
  • Please change all occurrences of TEAMNAME (foldername and in codefiles) to your chosen teamname.
  • Please only edit/add files in the folder /src/TEAMNAME respective the namespace oop::TEAMNAME.
Overview of the important classes

Note:

You can edit/extend the UML diagram to your needs using diagrams.net. Available is e.g. an online editor, a desktop application and a VSCode extension.

Clone this wiki locally