public final class PatternSpherePart extends Pattern
| Modifier and Type | Class and Description |
|---|---|
static class |
PatternSpherePart.SpherePartType |
uniqueTag| Constructor and Description |
|---|
PatternSpherePart(PatternSpherePart.SpherePartType type) |
| Modifier and Type | Method and Description |
|---|---|
IStatementParameter |
createParameter(int index)
Create parameters for the statement.
|
FilledTemplate |
createTemplate(IFillerStatementContainer filler,
IStatementParameter[] params) |
ISprite |
getSprite()
Note that this sprite *must* be stitched to the texture atlas, as it is drawn on the side of the filler
block.
|
int |
maxParameters()
Return the maximum number of parameter this statement can have, 0 if none.
|
int |
minParameters()
Return the minimum number of parameter this statement can have, 0 if none.
|
actionActivate, getDescription, getPossiblegetParam, getUniqueTag, rotateLeftclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateParameter, isPossibleOrdered, rotateLeftgetTooltip, getUniqueTagpublic PatternSpherePart(PatternSpherePart.SpherePartType type)
public int minParameters()
IStatementminParameters in interface IStatementminParameters in class BCStatementpublic int maxParameters()
IStatementmaxParameters in interface IStatementmaxParameters in class BCStatementpublic IStatementParameter createParameter(int index)
IStatementcreateParameter in interface IStatementcreateParameter in class BCStatementpublic ISprite getSprite()
IFillerPatternpublic FilledTemplate createTemplate(IFillerStatementContainer filler, IStatementParameter[] params)
filler - The filler to create the pattern for.
IFillerStatementContainer.hasBox() returns
false