Engine DeMonoGame #2
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using Microsoft.Xna.Framework;
|
||||
|
||||
using Syntriax.Engine.Core;
|
||||
using Syntriax.Engine.Core.Abstract;
|
||||
|
||||
namespace Syntriax.Engine.Physics2D.Abstract;
|
||||
@@ -13,8 +12,8 @@ public interface ICollider2D : IBehaviour, IAssignableTransform
|
||||
|
||||
IRigidBody2D? RigidBody2D { get; }
|
||||
|
||||
IList<Vector2> Vertices { get; }
|
||||
IList<Vector2D> Vertices { get; }
|
||||
|
||||
bool CheckCollision(Vector2 point);
|
||||
bool CheckCollision(Vector2D point);
|
||||
void Recalculate();
|
||||
}
|
||||
|
@@ -1,5 +1,4 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
|
||||
using Syntriax.Engine.Core;
|
||||
using Syntriax.Engine.Core.Abstract;
|
||||
|
||||
namespace Syntriax.Engine.Physics2D.Abstract;
|
||||
@@ -8,7 +7,7 @@ public interface IRigidBody2D : IBehaviour, IAssignableTransform
|
||||
{
|
||||
IPhysicsMaterial2D Material { get; set; }
|
||||
|
||||
Vector2 Velocity { get; set; }
|
||||
Vector2D Velocity { get; set; }
|
||||
float AngularVelocity { get; set; }
|
||||
|
||||
float Mass { get; set; }
|
||||
|
Reference in New Issue
Block a user