This commit is contained in:
seven332 committed 2015-04-24 17:09:25 +08:00
1 parent 00dbd94c84
commit 10ca8b352c
12 files changed
+191 -147

No files matched your search

@@ -166,6 +166,13 @@ public abstract class Scene {
}
}
/**
* return true if it is close or about to close
*/
public boolean isFinishing() {
return mState == SCENE_STATE_CLOSE || mState == SCENE_STATE_DESTROY;
}
public void setBackgroundColor(int bgColor) {
if (mBackgroundColor != bgColor) {
mBackgroundColor = bgColor;