Eraser function is now working.
- EditState now checks for the eraser button toggled when running its tile index logic. - Base layer can now be erased -- changed clear color to make holes in the base layer obvious. - Pulled event hooks for tool buttons as the logic polls for state instead of storing it in EditorState. - Updated map to handle cases of 'empty' tiles in the base layer.
Showing with 38 additions and 21 deletions