TrueCraft/TrueCraft.API/Entities/IPhysicsEntity.cs

20 lines
443 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TrueCraft.API.Entities
{
public interface IPhysicsEntity
{
Vector3 Position { get; set; }
Vector3 Velocity { get; set; }
float AccelerationDueToGravity { get; }
float Drag { get; }
float TerminalVelocity { get; }
bool BeginUpdate();
void EndUpdate(Vector3 newPosition);
}
}