Files
LuaCsForBarotraumaEP/Barotrauma/BarotraumaShared/SharedSource/Map/IDamageable.cs
T
2020-03-04 13:04:10 +01:00

25 lines
427 B
C#

using Microsoft.Xna.Framework;
namespace Barotrauma
{
interface IDamageable
{
Vector2 SimPosition
{
get;
}
Vector2 WorldPosition
{
get;
}
float Health
{
get;
}
AttackResult AddDamage(Character attacker, Vector2 worldPosition, Attack attack, float deltaTime, bool playSound=true);
}
}