25 lines
429 B
C#
25 lines
429 B
C#
using Microsoft.Xna.Framework;
|
|
|
|
namespace Subsurface
|
|
{
|
|
interface IDamageable
|
|
{
|
|
Vector2 SimPosition
|
|
{
|
|
get;
|
|
}
|
|
|
|
float Health
|
|
{
|
|
get;
|
|
}
|
|
|
|
AITarget AiTarget
|
|
{
|
|
get;
|
|
}
|
|
|
|
AttackResult AddDamage(Vector2 position, DamageType damageType, float amount, float bleedingAmount, float stun, bool playSound=true);
|
|
}
|
|
}
|