Begin script abstraction
This commit is contained in:
21
ReallifeGamemode.Server.Core.API/IEntity.cs
Normal file
21
ReallifeGamemode.Server.Core.API/IEntity.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
|
||||
namespace ReallifeGamemode.Server.Core.API
|
||||
{
|
||||
public interface IEntity
|
||||
{
|
||||
ulong Handle { get; }
|
||||
|
||||
Position Position { get; set; }
|
||||
|
||||
Position Rotation { get; set; }
|
||||
|
||||
double Heading { get; set; }
|
||||
|
||||
void Remove();
|
||||
|
||||
void SetSharedData<T>(string key, T data);
|
||||
|
||||
T GetSharedData<T>(string key, T fallback);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user