controlP5
Class ControllerSprite
java.lang.Object
controlP5.ControllerSprite
- All Implemented Interfaces:
- java.lang.Cloneable
public class ControllerSprite
- extends java.lang.Object
- implements java.lang.Cloneable
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ControllerSprite
public ControllerSprite(ControlP5 theControlP5,
processing.core.PImage theImage,
int theWidth,
int theHeight)
ControllerSprite
public ControllerSprite(ControlP5 theControlP5,
processing.core.PImage theImage,
int theWidth,
int theHeight,
int theStates)
draw
public void draw(processing.core.PApplet theApplet)
update
public void update()
setTotalStates
public void setTotalStates(int count)
setForceState
public void setForceState(int state)
getStateCount
public int getStateCount()
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()
clone
public ControllerSprite clone()
- Overrides:
clone
in class java.lang.Object
processing library controlP5 by Andreas Schlegel. (c) 2010