Class Mask
java.lang.Object
zombie.core.textures.Mask
- All Implemented Interfaces:
Serializable, Cloneable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMask(boolean[] mask1, int maskW, int maskH, int x, int y, int width, int height) Mask(int width, int height) Mask(BooleanGrid mask1, int x, int y, int width, int height) Mask(ITexture texture, BooleanGrid mask) -
Method Summary
-
Constructor Details
-
Mask
public Mask(int width, int height) -
Mask
-
Mask
-
Mask
public Mask(boolean[] mask1, int maskW, int maskH, int x, int y, int width, int height) -
Mask
-
Mask
-
Mask
-
Mask
-
Mask
-
-
Method Details
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
isSubMask
public boolean isSubMask() -
getOffsetX
public int getOffsetX() -
getOffsetY
public int getOffsetY() -
clone
-
full
public void full() -
set
public void set(int x, int y, boolean val) -
get
public boolean get(int x, int y) -
save
-