Draw
Board::Draw() is the other one of the two main procedures/functions in our game
void Board::Draw() const {
- if game is paused set shading to somewhat blue or green or whatever
- draw background
- for each tile starting from bottom
- (We need to decide the order since we are doing board rotation to get the isometric view)
- draw target area if necessary
- draw the sprite for Sprite object
- draw defenses for the wall
- draw danger indicators
- draw board messages
- draw user interface
- if game is paused draw the pause message or pause menu
- else draw contextual mouse cursor and hide the plain cursor
}
page_revision: 0, last_edited: 1160073316|%e %b %Y, %H:%M %Z (%O ago)