2015-02-01 10:38:55 -07:00
|
|
|
|
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; }
|
2015-02-02 01:24:43 -07:00
|
|
|
|
float TerminalVelocity { get; }
|
2015-02-01 10:38:55 -07:00
|
|
|
|
|
|
|
|
|
bool BeginUpdate();
|
|
|
|
|
void EndUpdate(Vector3 newPosition);
|
|
|
|
|
}
|
|
|
|
|
}
|