DoopelPonger
Public Member Functions | Public Attributes | List of all members
CoopBoomerangTrigger Class Reference

Handles object collision with the boomerang. If the boomerang hits the other player, notify the boomerang object it has hit a player. If the boomerang hits Schmitty Doop, notifiy the boomerang that the Schmitty Doop is inside the boomerang. More...

Inheritance diagram for CoopBoomerangTrigger:
Inheritance graph
[legend]
Collaboration diagram for CoopBoomerangTrigger:
Collaboration graph
[legend]

Public Member Functions

void OnTriggerEnter2D (Collider2D collision)
 
void OnTriggerExit2D (Collider2D collision)
 

Public Attributes

CoopBoomerang boomerang
 

Detailed Description

Handles object collision with the boomerang. If the boomerang hits the other player, notify the boomerang object it has hit a player. If the boomerang hits Schmitty Doop, notifiy the boomerang that the Schmitty Doop is inside the boomerang.

Member Function Documentation

◆ OnTriggerEnter2D()

void CoopBoomerangTrigger.OnTriggerEnter2D ( Collider2D  collision)

◆ OnTriggerExit2D()

void CoopBoomerangTrigger.OnTriggerExit2D ( Collider2D  collision)

Member Data Documentation

◆ boomerang

CoopBoomerang CoopBoomerangTrigger.boomerang

The boomerang that the colliders belong to.


The documentation for this class was generated from the following file: