Ray will be proud of my micro-optimizery.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3943 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -60,10 +60,6 @@ public class WindowSlider extends Node
|
|||||||
_mode = mode;
|
_mode = mode;
|
||||||
_window = window;
|
_window = window;
|
||||||
_tfunc = new LinearTimeFunction(start, end, duration);
|
_tfunc = new LinearTimeFunction(start, end, duration);
|
||||||
|
|
||||||
// skip two frames by default as that generally handles the normal
|
|
||||||
// window layout process
|
|
||||||
_skipTicks = 2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -107,7 +103,11 @@ public class WindowSlider extends Node
|
|||||||
getParent().detachChild(this);
|
getParent().detachChild(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected int _mode, _skipTicks;
|
protected int _mode;
|
||||||
protected BWindow _window;
|
protected BWindow _window;
|
||||||
protected TimeFunction _tfunc;
|
protected TimeFunction _tfunc;
|
||||||
|
|
||||||
|
// skip two frames by default as that generally handles the normal window
|
||||||
|
// layout process
|
||||||
|
protected int _skipTicks = 2;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user