However, now you want the castles to shoot (which are represented by the Player object). Right now, the game has the following object oriented architecture:Īs you can see, when this was developed, the design only called for Monsters to shoot, so the properties related to shooting were put inside the Monster class. Let’s take a look at the current game and see how you could fit this in.
0 Comments
Leave a Reply. |