#BlueJ class context comment0.target=void\ init() comment0.text=\nMethod\ init\ -\ initializes\ thread\ with\ starting\ data\n\n comment1.params=g comment1.target=void\ update(Graphics) comment10.target=void\ checkCollisions() comment10.text=Method\ checkCollisions()\ checks\ to\ see\ if\ the\ player\ is\ sharing\ a\ space\ with\ any\ NPCs\ \nAlso\ check\ to\ see\ if\ any\ abilities\ are\ intersecting\ with\ anyone.\nWhen\ a\ collision\ is\ determined,\ call\ collision\ on\ both\ objects\ with\ the\ opposite\ object\nas\ the\ parameter,\ and\ let\ them\ determine\ how\ to\ react.\n\n comment11.target=void\ run() comment11.text=\nMethod\ run\ -\ required\ for\ threading,\ this\ is\ executed\ when\ the\ applet\ is\ run\nThis\ also\ serves\ as\ the\ "tick,"\ so\ all\ methods\ that\ need\ to\ be\ reapplied\ every\ \nmoment\ are\ called\ in\ here.\ \ \n\n comment2.params=e\ x\ y comment2.target=boolean\ mouseDown(Event,\ int,\ int) comment3.params=e\ key comment3.target=boolean\ keyDown(Event,\ int) comment4.params=e\ key comment4.target=boolean\ keyUp(Event,\ int) comment5.params=g comment5.target=void\ paint(Graphics) comment5.text=\nMethods\ paint(),\ displayTitleScreen(),\ displayHealthBar(),\ drawCharacter(),\ drawOpponents()\nThese\ methods\ are\ the\ front-end,\ and\ display\ the\ graphics\ on\ the\ screen.\nEverything\ except\ the\ character\ image\ are\ printed\ first\ to\ an\ offscreen\ buffer,\ then\ copied\ to\ screen.\n\n comment6.target=void\ displayTitleScreen() comment7.target=void\ displayHealthBar() comment8.target=void\ drawCharacter() comment9.target=void\ drawOpponents() numComments=12