© Casey Hardman  2020
C. HardmanGame Programming with Unity and C#https://doi.org/10.1007/978-1-4842-5656-5_32

32. Tower Defense Conclusion

Casey Hardman1 
(1)
West Palm Beach, FL, USA
 

We have at last concluded our second project. It’s no finished game, but we’ve learned quite a lot along the way. Let’s get a quick refresher on it all and then review some ideas for additional features you could try to implement on your own.

Inheritance

A major focus of this project was inheritance. We talked about it in the first part, but this project puts it to work. We used base classes like Tower and Projectile to define a set of variables and logic that can be implemented in different ways:
  • A Tower can be bought and sold. To implement that, we need not concern ourselves ...

Get Game Programming with Unity and C#: A Complete Beginner’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.