RAGECOOP-V/Server/Entities/EntitiesPed.cs
2021-07-07 13:36:25 +02:00

13 lines
285 B
C#

namespace CoopServer.Entities
{
struct EntitiesPed
{
public LVector3 Position { get; set; }
public bool IsInRangeOf(LVector3 position, float distance)
{
return LVector3.Subtract(Position, position).Length() < distance;
}
}
}