You need to provide a method in the item class for setting the color (and scheduling an update) and the color needs to be taken into consideration when painting the item.
However you will have to get rid of the for loop, it doesn't make sense.
You need to provide a method in the item class for setting the color (and scheduling an update) and the color needs to be taken into consideration when painting the item.
However you will have to get rid of the for loop, it doesn't make sense.
Bookmarks