Simple Simon Discussion > selectedSquare variable
Updating/switching between the different Squares contained in the List.
April 27, 2008 |
Shawn
To keep track of which square is currently selected and thefore lit up by a lighter color each time the Draw method is called. And to change the square which should be drawn with a lighter color in the Update method once tickCount is greater then ticksPerLight.
May 2, 2008 |
Tomas
It is the offset into the squares vector of the element which refers to the Square presently being displayed.
May 9, 2008 |
Rob



What is the selectedSquare variable for?