Communication and Interaction Between Objects

Autor: Wouter van Toll, Arjan Egges, Jeroen D. Fokker
Rok vydání: 2019
Předmět:
Zdroj: Learning C# by Programming Games ISBN: 9783662592519
DOI: 10.1007/978-3-662-59252-6_8
Popis: The previous chapter has laid out the basic class structure for the Painter game. You’ve created a separate Cannon class that represents the cannon object in the game. You’ve also defined a simple input helper class and a class for representing the game world. You have already filled part of that game world by adding a background image and a cannon. The cannon handles its own input to change its color and angle.
Databáze: OpenAIRE