Xmin_Terminator wrote...
This is how I think it works but I still can't understand the full thing
< Code Omitted >Also this code I can' really put into words for annotating
< Code Omitted >
The field is to hold the laser object that this button controls. The laser is passed into the constructor (line 2) and saved in the field (line 4). The act method says that if the laser controlled by this button is still in the world and the player touches this button, remove that laser.