コード例 #1
0
ファイル: Scene.java プロジェクト: Finkrodor23/Blob_Engine_2
 /**
  * Sets the background color for this scene.
  *
  * @param r The red component of the background color.
  * @param g The green component of the background color.
  * @param b The blue component of the background color.
  */
 public final void setBackColor(float r, float g, float b) {
   bgColor.r = r;
   bgColor.g = g;
   bgColor.b = b;
 }
コード例 #2
0
ファイル: Scene.java プロジェクト: Finkrodor23/Blob_Engine_2
 /**
  * Sets the background color for this scene.
  *
  * @param color The background color.
  */
 public final void setBackColor(RGB color) {
   bgColor.r = color.r;
   bgColor.g = color.g;
   bgColor.b = color.b;
 }