O'Reilly logo

Beginning 3D Game Programming by Tom Miller

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Blockers Base Classes

Just because you plan to replace the user interface you wrote for Blockers doesn't mean you need to write the entire thing from scratch again. Instead, you should take the code you already wrote for the base classes in Blockers and use it in this project. As in the last chapter, when you used the sample framework code files for the project, you want to add an existing file and add gui.cs from Blockers as well; only this time, you don't want to link the file, but instead, you just click Open and add it normally. This move has the effect of copying the code into your new project, so modifying it does not break your existing Blockers implementation.

You use fonts in this class this time (for rendering the text-box text ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required