Interface BillboardSet
-
- All Superinterfaces:
be.yildizgames.common.gameobject.Deletable,be.yildizgames.common.gameobject.Movable
public interface BillboardSet extends be.yildizgames.common.gameobject.MovableA billboard set create and handle billboards with common attributes. Changing attribute on individual billboard will result in an optimization loss.- Author:
- Grégory Van den Borre
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BillboardcreateBillboard()Create a new billboard object.voidremoveBillboard(Billboard b)Remove a billboard and set it back in the pool.voidsetSize(float width, float height)Set the default size for all created billboards.
-
-
-
Method Detail
-
createBillboard
Billboard createBillboard()
Create a new billboard object.- Returns:
- The create billboard.
-
removeBillboard
void removeBillboard(Billboard b)
Remove a billboard and set it back in the pool.- Parameters:
b- Billboard to remove.
-
setSize
void setSize(float width, float height)Set the default size for all created billboards.- Parameters:
width- Width size in pixels.height- Height size in pixels.
-
-