v3.11.4 Documentation
Fungus.BasePhysicsEventHandler Class Reference

Base class for all of our physics event handlers More...

Inheritance diagram for Fungus.BasePhysicsEventHandler:
Fungus.TagFilteredEventHandler Fungus.EventHandler Fungus.Collision Fungus.Collision2D Fungus.Trigger Fungus.Trigger2D

Public Types

enum  PhysicsMessageType { PhysicsMessageType.Enter = 1 << 0, PhysicsMessageType.Stay = 1 << 1, PhysicsMessageType.Exit = 1 << 2 }

Protected Member Functions

void ProcessCollider (PhysicsMessageType from, string tagOnOther)
- Protected Member Functions inherited from Fungus.TagFilteredEventHandler
void ProcessTagFilter (string tagOnOther)

Protected Attributes

PhysicsMessageType FireOn = PhysicsMessageType.Enter
- Protected Attributes inherited from Fungus.TagFilteredEventHandler
string [] tagFilter
- Protected Attributes inherited from Fungus.EventHandler
Block parentBlock

Additional Inherited Members

- Public Member Functions inherited from Fungus.EventHandler
virtual bool ExecuteBlock ()
 The Event Handler should call this method when the event is detected to start executing the Block. More...
virtual string GetSummary ()
 Returns custom summary text for the event handler. More...
- Properties inherited from Fungus.EventHandler
virtual Block ParentBlock [get, set]
 The parent Block which owns this Event Handler. More...

Detailed Description

Base class for all of our physics event handlers

Definition at line 11 of file BasePhysicsEventHandler.cs.

Member Enumeration Documentation

◆ PhysicsMessageType


Definition at line 14 of file BasePhysicsEventHandler.cs.

Member Function Documentation

◆ ProcessCollider()

void Fungus.BasePhysicsEventHandler.ProcessCollider ( PhysicsMessageType  from,
string  tagOnOther 

Definition at line 26 of file BasePhysicsEventHandler.cs.

Member Data Documentation

◆ FireOn

PhysicsMessageType Fungus.BasePhysicsEventHandler.FireOn = PhysicsMessageType.Enter

Definition at line 24 of file BasePhysicsEventHandler.cs.

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