Package com.fluendo.jtiger
Class Item
java.lang.Object
com.fluendo.jtiger.Item
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isDirty()
void
Renders the item on the given image.void
renderBackground
(Component c, Image img) Render a background for the item, if approrpiate.void
renderText
(Image img) Render text text for the item, if approrpiate.void
setupRegion
(Component c, Image img) Set up the region.boolean
Updates the item at the given time.
-
Constructor Details
-
Item
Create a new item from a Kate event.
-
-
Method Details
-
update
Updates the item at the given time. returns true for alive, false for dead -
setupRegion
Set up the region. -
render
Renders the item on the given image. -
renderBackground
Render a background for the item, if approrpiate. The background may be a color, or an image. -
renderText
Render text text for the item, if approrpiate. -
isDirty
public boolean isDirty()
-