Refactor Flammable to be ECS. (#4671)
- Refactor IHotItem into IsHotEvent. - Refactor IFireAct into TileFireEvent.
This commit is contained in:
committed by
GitHub
parent
9bde39c533
commit
6cea9cb973
19
Content.Server/Atmos/TileFireEvent.cs
Normal file
19
Content.Server/Atmos/TileFireEvent.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Server.Atmos
|
||||
{
|
||||
/// <summary>
|
||||
/// Event raised directed to an entity when it is standing on a tile that's on fire.
|
||||
/// </summary>
|
||||
public class TileFireEvent : EntityEventArgs
|
||||
{
|
||||
public float Temperature { get; }
|
||||
public float Volume { get; }
|
||||
|
||||
public TileFireEvent(float temperature, float volume)
|
||||
{
|
||||
Temperature = temperature;
|
||||
Volume = volume;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user