Merging Source v1.7.2: scene changes

This commit is contained in:
Evan Debenham
2014-10-18 04:56:57 -04:00
parent c976144fdf
commit 9f9e117c95
12 changed files with 482 additions and 484 deletions
@@ -238,10 +238,15 @@ public class PixelScene extends Scene {
v.x = align( c, v.x );
v.y = align( c, v.y );
}
protected void fadeIn() {
fadeIn( 0xFF000000, false );
}
public static boolean noFade = false;
protected void fadeIn() {
if (noFade) {
noFade = false;
} else {
fadeIn( 0xFF000000, false );
}
}
protected void fadeIn( int color, boolean light ) {
add( new Fader( color, light ) );