Color is a set of constants which you can use to set the color of dots.
Use it from both TypeScript and JavaScript with:
game.setDot(x, y, Color.Red)
Index
Enumeration members
Enumeration members
Black
• Black: = “BLACK”
Blue
• Blue: = “BLUE”
Gray
• Gray: = “GRAY”
Green
• Green: = “GREEN”
Indigo
• Indigo: = “INDIGO”
Orange
• Orange: = “ORANGE”
Red
• Red: = “RED”
Violet
• Violet: = “VIOLET”
Yellow
• Yellow: = “YELLOW”