Chapter 6. Object-Oriented Programming, Classes, and SFML Views
This is the longest chapter of the book. There is a fair amount of theory, but the theory will give us the knowledge to start using Object-Oriented Programming (OOP) to powerful effect. Furthermore, we will not waste any time in putting that theory to good use. Before we explore C++ OOP, we will find out about and plan our next game project.
This is what we will do in the following chapter:
- Plan the Zombie Arena game
- Learn about OOP and classes
- Code the
Player
class - Learn about the SFML
View
class - Build the Zombie Arena game engine
- Put the
Player
class to work
Planning and starting the Zombie Arena game
At this point, if you haven't already, I suggest you go and watch a video of Over 9,000 ...
Get Beginning C++ Game Programming 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.