* Follow verb for ghosts * oop * Use parenting instead * Update Content.Shared/Follower/FollowerSystem.cs Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com> * mfw * parent fixes * figs * oop * porbis Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
15 lines
433 B
C#
15 lines
433 B
C#
using System.Collections.Generic;
|
|
using Robust.Shared.Analyzers;
|
|
using Robust.Shared.GameObjects;
|
|
|
|
namespace Content.Shared.Follower.Components;
|
|
|
|
/// <summary>
|
|
/// Attached to entities that are currently being followed by a ghost.
|
|
/// </summary>
|
|
[RegisterComponent, ComponentProtoName("Followed"), Friend(typeof(FollowerSystem))]
|
|
public class FollowedComponent : Component
|
|
{
|
|
public HashSet<EntityUid> Following = new();
|
|
}
|