Sprite refactor (#63)
* Sprite refactor compatibility. * Sprite-level rotation. * Dude it works. Welder now has an unshaded flame toggle! Door component no longer on client! * Remove debug text. * Update.
This commit is contained in:
committed by
clusterfack
parent
2ba705ffe9
commit
61a1e769d7
@@ -64,7 +64,6 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="EntryPoint.cs" />
|
||||
<Compile Include="GameObjects\Components\Doors\SharedDoorComponent.cs" />
|
||||
<Compile Include="GameObjects\Components\Inventory\EquipmentSlotDefinitions.cs" />
|
||||
<Compile Include="GameObjects\Components\Inventory\InventoryTemplates.cs" />
|
||||
<Compile Include="GameObjects\Components\Inventory\SharedInventoryComponent.cs" />
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
using System;
|
||||
using SS14.Shared.GameObjects;
|
||||
|
||||
namespace Content.Shared.GameObjects
|
||||
{
|
||||
public abstract class SharedDoorComponent : Component
|
||||
{
|
||||
public override string Name => "Door";
|
||||
public override uint? NetID => ContentNetIDs.DOOR;
|
||||
public override Type StateType => typeof(DoorComponentState);
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class DoorComponentState : ComponentState
|
||||
{
|
||||
public readonly bool Opened;
|
||||
|
||||
public DoorComponentState(bool opened) : base(ContentNetIDs.DOOR)
|
||||
{
|
||||
Opened = opened;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7,7 +7,6 @@
|
||||
public const uint DESTRUCTIBLE = 1001;
|
||||
public const uint TEMPERATURE = 1002;
|
||||
public const uint HANDS = 1003;
|
||||
public const uint DOOR = 1004;
|
||||
public const uint STORAGE = 1005;
|
||||
public const uint INVENTORY = 1006;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user