A small number of the Terran units using inheritance

computer science


A program in C++ that will simulate a small number of the Terran units using inheritance. Please refer to the included large class diagram to see associations and relationships between classes. We will focus on the different types of foot soldiers (or infantry). There will be four different types of infantry: Marine,Firebat, Ghost, and Medic. You will need to have an abstract class (Infantry) that is the superclass (base class). The other four should be subclasses (derived classes) that inherit from infantry.

Related Questions in computer science category

The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.