Skip to content

LObject.py

Anderas2 edited this page Mar 21, 2019 · 2 revisions

Notes

Similar to LBoard.py, I assign a single value to each region_key, resulting in

region = {'region_key' : 'icon'}

same as over there, we need to think if it is interesting to assign a List of things to a region key.

the function LObject.compareTo() is responsible for the sorting order of icons. It returns the alphabetical order of the icons. If we want to enable custom icon sorting, we need to change this function to something else later. Added a # TODO: remark there.

Clone this wiki locally