Use bitmask transparency for composited character sprites.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2125 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: CompositedActionFrames.java,v 1.12 2003/01/13 22:53:04 mdb Exp $
|
// $Id: CompositedActionFrames.java,v 1.13 2003/01/13 23:53:04 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.cast;
|
package com.threerings.cast;
|
||||||
|
|
||||||
@@ -7,6 +7,7 @@ import java.awt.Graphics2D;
|
|||||||
import java.awt.Image;
|
import java.awt.Image;
|
||||||
import java.awt.Point;
|
import java.awt.Point;
|
||||||
import java.awt.Rectangle;
|
import java.awt.Rectangle;
|
||||||
|
import java.awt.Transparency;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
|
|
||||||
@@ -228,6 +229,12 @@ public class CompositedActionFrames
|
|||||||
_action, _sorient));
|
_action, _sorient));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// documentation inherited
|
||||||
|
protected int getTransparency ()
|
||||||
|
{
|
||||||
|
return Transparency.BITMASK;
|
||||||
|
}
|
||||||
|
|
||||||
// documentation inherited
|
// documentation inherited
|
||||||
protected void refreshVolatileImage ()
|
protected void refreshVolatileImage ()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user