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
14
Content.Shared/Temperature/IsHotEvent.cs
Normal file
14
Content.Shared/Temperature/IsHotEvent.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Robust.Shared.Analyzers;
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Shared.Temperature
|
||||
{
|
||||
/// <summary>
|
||||
/// Directed event raised on entities to query whether they're "hot" or not.
|
||||
/// For example, a lit welder or matchstick would be hot, etc.
|
||||
/// </summary>
|
||||
public class IsHotEvent : EntityEventArgs
|
||||
{
|
||||
public bool IsHot { get; set; } = false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user