mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 03:56:31 +00:00
20 lines
477 B
C#
20 lines
477 B
C#
using System;
|
|
using Microsoft.Xna.Framework;
|
|
|
|
namespace MonoGame.Extended.Collisions.Tests
|
|
{
|
|
public class BasicWall : ICollisionActor
|
|
{
|
|
public Vector2 Position { get; set; }
|
|
public IShapeF Bounds { get; set; }
|
|
public Vector2 Velocity { get; set; }
|
|
|
|
public BasicWall()
|
|
{
|
|
Bounds = new RectangleF(0f, 0f, 1f, 1f);
|
|
}
|
|
public void OnCollision(CollisionEventArgs collisionInfo)
|
|
{
|
|
}
|
|
}
|
|
} |