(ffa3ddbca) Implemented changing mineral sprites when attached to a wall

This commit is contained in:
Joonas Rikkonen
2019-04-11 18:27:25 +03:00
parent 913b0f4526
commit a3342ca96d
5 changed files with 47 additions and 16 deletions
@@ -11,6 +11,12 @@ namespace Barotrauma.Items.Components
{
private float lastSentDeattachTimer;
private PhysicsBody trigger;
private Holdable holdable;
private float deattachTimer;
[Serialize(1.0f, false)]
public float DeattachDuration
{
@@ -49,13 +55,7 @@ namespace Barotrauma.Items.Components
#endif
}
}
private PhysicsBody trigger;
private Holdable holdable;
private float deattachTimer;
public LevelResource(Item item, XElement element) : base(item, element)
{
IsActive = true;