package colorful

import 

type RandInterface interface {
	Float64() float64
	Intn(n int) int
}

type defaultGlobalRand struct{}

func ( defaultGlobalRand) () float64 {
	return rand.Float64()
}

func ( defaultGlobalRand) ( int) int {
	return rand.Intn()
}

func getDefaultGlobalRand() RandInterface {
	return defaultGlobalRand{}
}