Class Pixy2CCC.Block
- java.lang.Object
- 
- io.github.pseudoresonance.pixy2api.Pixy2CCC.Block
 
- 
- Enclosing class:
- Pixy2CCC
 
 public static class Pixy2CCC.Block extends java.lang.Object
- 
- 
Constructor SummaryConstructors Constructor Description Block(int signature, int x, int y, int width, int height, int angle, int index, int age)Constructs signature block instance
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAge()intgetAngle()intgetHeight()intgetIndex()intgetSignature()intgetWidth()intgetX()intgetY()voidprint()Prints signature block data to consolejava.lang.StringtoString()Returns a string of signature block data
 
- 
- 
- 
Constructor Detail- 
Blockpublic Block(int signature, int x, int y, int width, int height, int angle, int index, int age)Constructs signature block instance- Parameters:
- signature- Block signature
- x- X value
- y- Y value
- width- Block width
- height- Block height
- angle- Angle from camera
- index- Block index
- age- Block age
 
 
- 
 - 
Method Detail- 
printpublic void print() Prints signature block data to console
 - 
toStringpublic java.lang.String toString() Returns a string of signature block data- Overrides:
- toStringin class- java.lang.Object
- Returns:
- String of signature block data
 
 - 
getSignaturepublic int getSignature() - Returns:
- Block signature
 
 - 
getXpublic int getX() - Returns:
- Block X value
 
 - 
getYpublic int getY() - Returns:
- Block Y value
 
 - 
getWidthpublic int getWidth() - Returns:
- Block width
 
 - 
getHeightpublic int getHeight() - Returns:
- Block height
 
 - 
getAnglepublic int getAngle() - Returns:
- Angle from camera
 
 - 
getIndexpublic int getIndex() - Returns:
- Block index
 
 - 
getAgepublic int getAge() - Returns:
- Block age
 
 
- 
 
-