public static Packet SpawnPacket(Body body) { return SpawnPacket(body.ID,body.Name,body.Position); }
protected virtual void OnEnter(Body body) { EnterEvent.Raise(level.server,body); }
protected virtual void OnLeave(Body body) { LeaveEvent.Raise(level.server,body); }
public bool IsInside(Body body) { return (body.Position.X>=x1*32 && body.Position.Y>=y1*32 && body.Position.Z>=z1*32 && body.Position.X<x2*32 && body.Position.Y<y2*32+48 && body.Position.Z<z2*32); }