Draw hex depending on it's state #3

Open
opened 2018-05-10 21:07:03 +00:00 by Jayjader · 1 comment
Jayjader commented 2018-05-10 21:07:03 +00:00 (Migrated from github.com)

MapHex._draw() reads from MapHex.visual_state to choose what to draw

`MapHex._draw()` reads from `MapHex.visual_state` to choose what to draw
Jayjader commented 2018-05-19 16:45:55 +00:00 (Migrated from github.com)

Visual states:

  • UNDISCOVERED: solid green hex
  • EMPTY: solid brown hex + number of adjacent mines if > 0 (c.f. #6 for color)
  • MINE: solid brown hex? + mine graphic/sprite in center
  • FLAGGED & QUESTION_MARK: solid green hex with flag OR question mark graphic/sprite in center
Visual states: - `UNDISCOVERED`: solid green hex - `EMPTY`: solid brown hex + number of adjacent mines if > 0 (c.f. #6 for color) - `MINE`: solid brown hex? + mine graphic/sprite in center - `FLAGGED` & `QUESTION_MARK`: solid green hex with flag OR question mark graphic/sprite in center
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ferrous_sapling/HexSweeper#3
No description provided.