Question on packages and namespaces
by Andreas Heldt · in Torque Game Engine · 02/15/2005 (10:11 am) · 2 replies
Hi, I just wondered today if i can override functions declared in a namespace in packages, like this:
If this works, my biggest question is how to call the package parent's function, would it be like this:?
or just:
or do I have to provide the %this 'cause of the package?
package myPackage
{
function GameConnection::onClientEnterGame(%this)
{
}
};If this works, my biggest question is how to call the package parent's function, would it be like this:?
Parent::GameConnection::onClientEnterGame();
or just:
Parent::onClientEnterGame();
or do I have to provide the %this 'cause of the package?
Torque Owner Harold "LabRat" Brown
and