June 2016
Intermediate to advanced
384 pages
8h 20m
English
You are probably guessing that we are going to create an enemy class that will hold the logic for our enemy. As I mentioned earlier, I'll not be inheriting several AI classes from each other, as I will have only one enemy. But, in fact, we are going to create two new classes for the project based on the base class of each. The new classes will be as follows:
Enemy: This class will be based on the ACharacter class, which means that it will have a lot of properties, such as our gladiator, as Gladiator as well is inherited from Character.
EnemyAIController: This one will be based on AAIController. While the ACharacter-based class ...Read now
Unlock full access