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 Summary
Constructors Constructor Description Block(int signature, int x, int y, int width, int height, int angle, int index, int age)
Constructs signature block instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAge()
int
getAngle()
int
getHeight()
int
getIndex()
int
getSignature()
int
getWidth()
int
getX()
int
getY()
void
print()
Prints signature block data to consolejava.lang.String
toString()
Returns a string of signature block data
-
-
-
Constructor Detail
-
Block
public Block(int signature, int x, int y, int width, int height, int angle, int index, int age)
Constructs signature block instance- Parameters:
signature
- Block signaturex
- X valuey
- Y valuewidth
- Block widthheight
- Block heightangle
- Angle from cameraindex
- Block indexage
- Block age
-
-
Method Detail
-
print
public void print()
Prints signature block data to console
-
toString
public java.lang.String toString()
Returns a string of signature block data- Overrides:
toString
in classjava.lang.Object
- Returns:
- String of signature block data
-
getSignature
public int getSignature()
- Returns:
- Block signature
-
getX
public int getX()
- Returns:
- Block X value
-
getY
public int getY()
- Returns:
- Block Y value
-
getWidth
public int getWidth()
- Returns:
- Block width
-
getHeight
public int getHeight()
- Returns:
- Block height
-
getAngle
public int getAngle()
- Returns:
- Angle from camera
-
getIndex
public int getIndex()
- Returns:
- Block index
-
getAge
public int getAge()
- Returns:
- Block age
-
-