Files
RobustToolbox/Robust.Client/GameObjects/Components/BoundingBox/BoundingBoxComponent.cs
T
SilverandGitHub 25926a17b7 Renames SS14.* to Robust.* (#793)
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
2019-04-15 20:24:59 -06:00

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);
}
}
}