Package org.emrick.project.effect
Class GridShape
java.lang.Object
org.emrick.project.effect.GridShape
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()
boolean[][]
getShape()
int
getSpeed()
void
recoverLEDStrips
(ArrayList<LEDStrip> strips) void
void
setLedStrips
(HashSet<LEDStrip> ledStrips) void
setMovement
(Point movement) void
setRecoveryString
(String recoveryString) void
setShape
(boolean[][] shape) void
setSpeed
(int speed) void
setStartPos
(Point startPos)
-
Field Details
-
shape
private boolean[][] shape -
startPos
-
color
-
speed
private int speed -
movement
-
ledStrips
-
recoveryString
-
-
Constructor Details
-
GridShape
public GridShape() -
GridShape
-
-
Method Details
-
getSpeed
public int getSpeed() -
setSpeed
public void setSpeed(int speed) -
generateRecoveryString
-
setRecoveryString
-
recoverLEDStrips
-
getLedStrips
-
setLedStrips
-
getMovement
-
setMovement
-
getColor
-
setColor
-
getShape
public boolean[][] getShape() -
setShape
public void setShape(boolean[][] shape) -
getStartPos
-
setStartPos
-