|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.freecol.common.resources.Resource
net.sf.freecol.common.resources.SZAResource
public class SZAResource
A Resource
wrapping a SimpleZippedAnimation
.
Resource
,
SimpleZippedAnimation
Method Summary | |
---|---|
SimpleZippedAnimation |
getSimpleZippedAnimation()
Gets the SimpleZippedAnimation represented by this resource. |
SimpleZippedAnimation |
getSimpleZippedAnimation(double scale)
Returns the SimpleZippedAnimation using the specified scale. |
Methods inherited from class net.sf.freecol.common.resources.Resource |
---|
getResourceLocator |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public SimpleZippedAnimation getSimpleZippedAnimation()
SimpleZippedAnimation
represented by this resource.
SimpleZippedAnimation
in it's original size.public SimpleZippedAnimation getSimpleZippedAnimation(double scale)
SimpleZippedAnimation
using the specified scale.
scale
- The size of the requested animation (with 1 being normal
size, 2 twice the size, 0.5 half the size etc). Rescaling
will be performed unless using 1.
SimpleZippedAnimation
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |