function PlayerData::onCollision(%this, %obj, %col) { echo(%obj SPC "collided with" %col); }