Class Mask

java.lang.Object
zombie.core.textures.Mask
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Mask
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    protected Mask()  
      Mask​(int width, int height)  
      Mask​(Mask obj)  
      Mask​(Texture from, Texture texture, int x, int y, int width, int height)  
    protected Mask​(Texture texture, WrappedBuffer wb)  
      Mask​(ITexture texture)  
      Mask​(ITexture texture, boolean[] mask)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Object clone()  
    void full()  
    boolean get​(int x, int y)  
    void save​(java.lang.String name)  
    void set​(int x, int y, boolean val)  

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Mask

      protected Mask()
    • Mask

      public Mask​(int width, int height)
    • Mask

      public Mask​(Texture from, Texture texture, int x, int y, int width, int height)
    • Mask

      protected Mask​(Texture texture, WrappedBuffer wb)
    • Mask

      public Mask​(ITexture texture, boolean[] mask)
    • Mask

      public Mask​(ITexture texture)
    • Mask

      public Mask​(Mask obj)
  • Method Details

    • clone

      public java.lang.Object clone()
      Overrides:
      clone in class java.lang.Object
    • full

      public void full()
    • set

      public void set​(int x, int y, boolean val)
    • get

      public boolean get​(int x, int y)
    • save

      public void save​(java.lang.String name)