idTech4.Game.idEntity.Damage C# (CSharp) Method

Damage() public method

public Damage ( idEntity inflictor, idEntity attacker, Vector3 direction, string damageDefName, float damageScale, int location ) : void
inflictor idEntity Entity that is causing the damage.
attacker idEntity Entity that caused the inflictor to cause damage to us.
direction Vector3 Direction of the attack for knockback in global space.
damageDefName string
damageScale float
location int
return void
		public virtual void Damage(idEntity inflictor, idEntity attacker, Vector3 direction, string damageDefName, float damageScale, int location)
		{
			if(this.Disposed == true)
			{
				throw new ObjectDisposedException(this.GetType().Name);
			}

			idConsole.Warning("TODO: idEntity.Damage");
		}