diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2009-01-28 16:49:17 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2009-01-28 16:49:17 -0500 |
commit | 58c3529f14de0e5142e0ba0927d3c7aa9288c799 (patch) | |
tree | e53917974a0289df26afa9310cc8d1af4f03d0a1 /lib/swing-app-framework/appframework-1.0.3.jar | |
parent | f5884d91e90e858b2672ef416071941fea786923 (diff) | |
download | fourpuzzle-58c3529f14de0e5142e0ba0927d3c7aa9288c799.tar.gz fourpuzzle-58c3529f14de0e5142e0ba0927d3c7aa9288c799.tar.bz2 fourpuzzle-58c3529f14de0e5142e0ba0927d3c7aa9288c799.zip |
Fixed LayerEvent rendering condition bug
Replaced said condition with an instanceof check to see if toDraw.getGraphic() is an instance of BlankEventGraphic. The previous way requires BlankEventGraphic() to be instantated many times for no reason, thus wasting resources and causing other problems.
Diffstat (limited to 'lib/swing-app-framework/appframework-1.0.3.jar')
0 files changed, 0 insertions, 0 deletions