This commit is contained in:
Nitload
2023-02-14 14:26:57 +08:00
parent b3e55ecfc7
commit 3762a2e5ce
19 changed files with 162 additions and 90 deletions
+5 -4
View File
@@ -1,4 +1,5 @@
using StgSharp;
using StgSharp.Vector;
using System;
using System.Collections.Generic;
using System.Text;
@@ -7,14 +8,14 @@ namespace StgSharp
{
public interface IEntity:INode
{
public IGeometry CollisionShape { get; set; }
public IGeometry CollisionBox { get; set; }
public Sensor CollisionSensor { get; set; }
public string Texture { get; set; }
public Point Location { get; set; }
public Vec2D Location { get; }
public void SetLocation(Point p);
}
}