context: function entityEventGeneric( evt ){	switch( evt.action )	{		case ACTION_ATTACK:			this.performAttack( evt ); break;		case ACTION_GATHER:			if ( !this.actions.gather )				evt.preventDefault();			evt.notifyType = NOTIFY_GATHER;			// Change our gather animation based on the type of target			var a = this.actions.gather;			this.setActionParams( ACTION_GATHER, 0.0, a.range, a.speed,				"gather_" + evt.target.traits.supply.subtype );						break;		case ACTION_HEAL:			this.performHeal( evt ); break;		case ACTION_ATTACK_RANGED:			this.performAttackRanged( evt ); break;		case ACTION_BUILD:			this.performBuild( evt ); break;		default:			console.write( "Unknown generic action: " + evt.action );	}}
meta: 1070	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1070/85af28a8a19b420db3bae9535c0f097306eb8f13/template_entity_script.js/buggy/binaries/data/mods/official/entities/template_entity_script.js