v/examples/fireworks/modules/objects/color.v

13 lines
146 B
V

module objects
import gx
import rand
pub fn random_color() gx.Color {
return gx.Color{
r: rand.byte()
g: rand.byte()
b: rand.byte()
}
}