diff --git a/src/cs/MonoGame.Extended.Collisions/ICollisionActor.cs b/src/cs/MonoGame.Extended.Collisions/ICollisionActor.cs index e8f9516b..6a05592f 100644 --- a/src/cs/MonoGame.Extended.Collisions/ICollisionActor.cs +++ b/src/cs/MonoGame.Extended.Collisions/ICollisionActor.cs @@ -7,9 +7,21 @@ namespace MonoGame.Extended.Collisions /// public interface ICollisionActor { + /// + /// A name of layer, which will contains this actor. + /// If it equals null, an actor will insert into a default layer + /// string LayerName { get => null; } + + /// + /// A bounds of an actor. It is using for collision calculating + /// IShapeF Bounds { get; } + /// + /// It will called, when collision with an another actor fires + /// + /// Data about collision void OnCollision(CollisionEventArgs collisionInfo); } }