0

Add customizable overlay colors, works for base overlay, spawn, and slime.

I left minerals as it is so you have to still define the minerals option to get that to work.
This commit is contained in:
Richard Pastrick
2012-06-08 12:07:21 -07:00
parent a432382bc1
commit 28099deaf6
5 changed files with 56 additions and 12 deletions

View File

@@ -168,6 +168,10 @@ class ClearBase(RenderPrimitive):
class Overlay(RenderPrimitive):
name = "overlay"
options = {
'overlay_color' : ('a tuple of (r, g, b, a) for coloring the overlay', None),
}
@property
def whitecolor(self):
whitecolor = getattr(self, "_whitecolor", None)