Package com.fluendo.jtiger
Class Item
java.lang.Object
com.fluendo.jtiger.Item
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisDirty()voidRenders the item on the given image.voidrenderBackground(Component c, Image img) Render a background for the item, if approrpiate.voidrenderText(Image img) Render text text for the item, if approrpiate.voidsetupRegion(Component c, Image img) Set up the region.booleanUpdates 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()
-