Package struct

Class ScreenData

java.lang.Object
struct.ScreenData

public class ScreenData extends Object
The class dealing with the screen information such as the game screen's image and the background color.
  • Field Details

    • displayBytes

      private byte[] displayBytes
      RGB data of the screen in the form of bytes
  • Method Details

    • getDisplayBytes

      public byte[] getDisplayBytes()
      Obtains RGB data of the screen in the form of bytes.
      Returns:
      the RGB data of the screen in the form of bytes