Game Development Community

Trigger Derived Classes

by Kirk Haynes · in Torque Game Engine · 12/04/2006 (12:25 pm) · 0 replies

I'd like to suggest making the following methods in the Trigger class virtual to allow subclasses to handle their own checks by overriding them.

virtual bool testObject( GameBase * enter);

virtual void potentialEnterObject( GameBase *);