Sunday, February 28, 2021

On Conditiion

 Small victory this morning: managed to set up - 

in PowewrupTest - my Powerup tile to only show up 

in a conditional situation. Below; the screen is blank 

until user presses the 'u' key.


In Powerup, class definition:



In main, where things happen:


And now the render function in Powerup class looks like this:





No comments: