mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-02 18:17:09 +02:00
RobustToolbox projects should be named Robust.* This PR changes the RobustToolbox projects from SS14.* to Robust.* Updates SS14.* prefixes/namespaces to Robust.* Updates SpaceStation14.sln to RobustToolbox.sln Updates MSBUILD/SS14.* to MSBUILD/Robust.* Updates CSProject and MSBuild references for the above Updates git_helper.py Removes Runserver and Runclient as they are unusable
31 lines
877 B
C#
31 lines
877 B
C#
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Maths;
|
|
using Robust.Shared.Serialization;
|
|
using Robust.Shared.ViewVariables;
|
|
|
|
namespace Robust.Client.GameObjects
|
|
{
|
|
/// <summary>
|
|
/// Holds an Axis Aligned Bounding Box (AABB) for the entity. Using this component adds the entity
|
|
/// to the physics system as a static (non-movable) entity.
|
|
/// </summary>
|
|
public class ClientBoundingBoxComponent : BoundingBoxComponent
|
|
{
|
|
private Color _debugColor;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public Color DebugColor
|
|
{
|
|
get => _debugColor;
|
|
set => _debugColor = value;
|
|
}
|
|
|
|
public override void ExposeData(ObjectSerializer serializer)
|
|
{
|
|
base.ExposeData(serializer);
|
|
|
|
serializer.DataField(ref _debugColor, "DebugColor", Color.Red);
|
|
}
|
|
}
|
|
}
|