s3games.robot

## Class Camera.DetectedObject

- java.lang.Object
- - s3games.robot.Camera.DetectedObject

- Enclosing class:
    Camera

      public class Camera.DetectedObject
      extends java.lang.Object

  represents an object that has been detected by the camera

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `state` element state
    `java.lang.String` | `type` element type
    `int` | `x` location in the camera image: x-coordinate
    `int` | `y` location in the camera image: y-coordinate

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Camera.DetectedObject(java.lang.String type, int state, int x, int y)` construct a new detected object

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `toString()` visualize the detected object - for printing/debugging purposes

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### type

          public java.lang.String type

      element type

    - #### state

          public int state

      element state

    - #### x

          public int x

      location in the camera image: x-coordinate

    - #### y

          public int y

      location in the camera image: y-coordinate

  - ### Constructor Detail

    - #### Camera.DetectedObject

          public Camera.DetectedObject(java.lang.String type,
                               int state,
                               int x,
                               int y)

      construct a new detected object

  - ### Method Detail

    - #### toString

          public java.lang.String toString()

      visualize the detected object - for printing/debugging purposes
      Overrides:
        `toString` in class `java.lang.Object`