Modified menu display conditions (right click brings up end turn menu, left click selects menu option). Added check to prevent end turn button and wait button to appear at same time.
Adding raw item spawning code
Added condition to prevent player unit movement when menu is displayed. Expanded unit's movable tiles visuals (blue is movable tiles, red is attackable tiles).
Uncommented code that prevented end turn from working properly.
Added loop for spawning item buttons
Finished main loop for spawning items
Refactored unit's stats.
Added template comments for individual units.
Intermediate work on player item system
Modified menu to display at mouse cursor location. Fixed bug with enemy unit's movement where enemy can move an infinite distance.
Added basic equiping mechanism
Added menu position check (if menu is clipped off screen, clamp menu back into visible screen view).
Merging