public abstract class PluggableGroupStrategy extends java.lang.Object implements GroupStrategy
GroupPlugs allows you to build a modular GroupStrategy out of
routines you already implemented.| Constructor and Description |
|---|
PluggableGroupStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterGroup(int group)
Invoked directly after rendering of a group has completed
|
void |
beforeGroup(int group,
Array<Decal> contents)
Invoked directly before rendering the contents of a group
|
void |
plugIn(GroupPlug plug,
int group)
Set the plug used for a specific group.
|
GroupPlug |
unPlug(int group)
Remove a plug from the strategy
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterGroups, beforeGroups, decideGroup, getGroupShaderpublic void beforeGroup(int group,
Array<Decal> contents)
GroupStrategybeforeGroup in interface GroupStrategygroup - Group that will be renderedcontents - Array of entries of arrays containing all the decals in the grouppublic void afterGroup(int group)
GroupStrategyafterGroup in interface GroupStrategygroup - Group which completed renderingpublic void plugIn(GroupPlug plug, int group)
plug - Plug to usegroup - Group the plug is forpublic GroupPlug unPlug(int group)
group - Group to remove the plug from