|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Drawable2D
Implemented by all those classes that can be drawn in a Canvas
Method Summary | |
---|---|
void |
draw(Canvas c)
Draws the element in the canvas |
void |
drawTouchableArea(Canvas c,
Paint p)
Fills the touchable zone for the drawable only with the the given Paint. |
void |
update(long elapsed)
Updates the drawable |
Method Detail |
---|
void draw(Canvas c)
c
- the canvasvoid drawTouchableArea(Canvas c, Paint p)
c
- the canvasp
- the paintvoid update(long elapsed)
elapsed
- elapsed time since last updated
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |