Moves spike to ECS (#5706)

This commit is contained in:
FoLoKe
2021-12-26 05:32:01 +03:00
committed by GitHub
parent fdf7aae744
commit 83114de0e4
13 changed files with 338 additions and 152 deletions

View File

@@ -16,11 +16,11 @@ namespace Content.Shared.Kitchen.Components
[ViewVariables]
[DataField("delay")]
protected float SpikeDelay = 12.0f;
public float SpikeDelay = 12.0f;
[ViewVariables(VVAccess.ReadWrite)]
[DataField("sound")]
protected SoundSpecifier SpikeSound = new SoundPathSpecifier("/Audio/Effects/Fluids/splat.ogg");
public SoundSpecifier SpikeSound = new SoundPathSpecifier("/Audio/Effects/Fluids/splat.ogg");
bool IDragDropOn.CanDragDropOn(DragDropEvent eventArgs)
{