public class PatternSphere extends Pattern implements IFillerPatternShape
uniqueTag
Constructor and Description |
---|
PatternSphere() |
Modifier and Type | Method and Description |
---|---|
IStatementParameter |
createParameter(int index)
Create parameters for the statement.
|
boolean |
fillTemplate(IFilledTemplate filledTemplate,
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, getPossible
getParam, getUniqueTag, rotateLeft
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTemplate
getPossible
createParameter, isPossibleOrdered, rotateLeft
getDescription, getTooltip, getUniqueTag
convertTo
public ISprite getSprite()
IFillerPattern
getSprite
in interface IFillerPattern
getSprite
in interface IGuiSlot
public int minParameters()
IStatement
minParameters
in interface IStatement
minParameters
in class BCStatement
public int maxParameters()
IStatement
maxParameters
in interface IStatement
maxParameters
in class BCStatement
public IStatementParameter createParameter(int index)
IStatement
createParameter
in interface IStatement
createParameter
in class BCStatement
public boolean fillTemplate(IFilledTemplate filledTemplate, IStatementParameter[] params)
fillTemplate
in interface IFillerPatternShape
filledTemplate
- empty templatetrue
if the template filled, or false
if this shouldn't make a template for the given params.