Hi,
I'm currently studying the source code of Minicraft(this link will take you to s3.amazonaws.com, don't worry, it's hosted and made by Amazon, the most legitimate site on the web), a video game Notch made for the Ludum Dare competition. Now, I've noticed something almost all open source Java games have:
int[] pixels = ((DataBufferInt) image.getRaster().getDataBuffer()).getData();
What does this do? What does getRaster(), getDataBuffer(), and getData() do? Why is this stored in the variable "pixels"? I can't see any connection, please help!
#YOLO