Show / Hide Table of Contents

Class ThrownItemSystem

Handles throwing landing and collisions.

Inheritance
System.Object
ThrownItemSystem
Namespace: Content.Shared.Throwing
Assembly: Content.Shared.dll
Syntax
public sealed class ThrownItemSystem : EntitySystem

Methods

| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
| Improve this Doc View Source

LandComponent(EntityUid, ThrownItemComponent, PhysicsComponent, Boolean)

Declaration
public void LandComponent(EntityUid uid, ThrownItemComponent thrownItem, PhysicsComponent physics, bool playSound)
Parameters
Type Name Description
EntityUid uid
ThrownItemComponent thrownItem
Robust.Shared.Physics.Components.PhysicsComponent physics
System.Boolean playSound
| Improve this Doc View Source

StopThrow(EntityUid, ThrownItemComponent)

Declaration
public void StopThrow(EntityUid uid, ThrownItemComponent thrownItemComponent)
Parameters
Type Name Description
EntityUid uid
ThrownItemComponent thrownItemComponent
| Improve this Doc View Source

ThrowCollideInteraction(ThrownItemComponent, EntityUid, EntityUid)

Raises collision events on the thrown and target entities.

Declaration
public void ThrowCollideInteraction(ThrownItemComponent component, EntityUid thrown, EntityUid target)
Parameters
Type Name Description
ThrownItemComponent component
EntityUid thrown
EntityUid target
| Improve this Doc View Source

Update(Single)

Declaration
public override void Update(float frameTime)
Parameters
Type Name Description
System.Single frameTime
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾