package com.annimon.influencexxii; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.math.MathUtils; /** * Simple functions for drawing * @author aNNiMON * */ public class DrawUtils { public static Color random2Color(int min, int max) { float r = MathUtils.random(min, max) / 255f;; float g = MathUtils.random(min, max) / 255f; float b = MathUtils.random(min, max) / 255f;; return new Color(r, g, b, 1f); } }