public class PatternShape2dSquare extends PatternShape2d
PatternShape2d.ArcType, PatternShape2d.LineList
uniqueTag
Constructor and Description |
---|
PatternShape2dSquare() |
Modifier and Type | Method and Description |
---|---|
protected void |
genShape(int maxA,
int maxB,
PatternShape2d.LineList list) |
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.
|
createParameter, fillTemplate
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 int minParameters()
IStatement
minParameters
in interface IStatement
minParameters
in class PatternShape2d
public int maxParameters()
IStatement
maxParameters
in interface IStatement
maxParameters
in class PatternShape2d
public ISprite getSprite()
IFillerPattern
protected void genShape(int maxA, int maxB, PatternShape2d.LineList list)
genShape
in class PatternShape2d