Java color類

   private Color getNowColor(double hp, double maxhp){   int colorR = 0;   int colorG = 255;   int colorB = 0;   double hphalf = maxhp / 2;   if(hp > hphalf){   colorR = 255 - (int)((hp - hphalf) / (m
相關文章
相關標籤/搜索