controlP5
Class ControllerSprite

java.lang.Object
  extended by controlP5.ControllerSprite

public class ControllerSprite
extends java.lang.Object


Constructor Summary
ControllerSprite(ControlP5 theControlP5, processing.core.PImage theImage, int theWidth, int theHeight)
           
 
Method Summary
 void disableMask()
           
 void draw(processing.core.PApplet theApplet)
           
 void enableMask()
           
 int getState()
           
 int height()
           
 void setMask(processing.core.PImage theImage)
           
 void setOffset(int theX, int theY)
           
 void setState(int theState)
           
 void update()
           
 int width()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControllerSprite

public ControllerSprite(ControlP5 theControlP5,
                        processing.core.PImage theImage,
                        int theWidth,
                        int theHeight)
Method Detail

draw

public void draw(processing.core.PApplet theApplet)

update

public void update()

setOffset

public void setOffset(int theX,
                      int theY)

setState

public void setState(int theState)

getState

public int getState()

width

public int width()

height

public int height()

setMask

public void setMask(processing.core.PImage theImage)

enableMask

public void enableMask()

disableMask

public void disableMask()


processing library controlP5 by Andreas Schlegel. (c) 2010