mirror of
https://github.com/ChronosX88/mta-mono.git
synced 2024-11-26 20:22:22 +00:00
29 lines
701 B
C#
29 lines
701 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace MultiTheftAuto.EventArgs
|
|||
|
{
|
|||
|
public class ColShapeEventArgs : ElementEventArgs
|
|||
|
{
|
|||
|
public ColShapeEventArgs( Element _this, Element hitElement, bool matchingDimension )
|
|||
|
: base( _this )
|
|||
|
{
|
|||
|
this.HitElement = hitElement;
|
|||
|
this.MatchingDimension = matchingDimension;
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// the element that entered or leaved the colshape.
|
|||
|
/// </summary>
|
|||
|
public Element HitElement;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// a boolean referring to whether the hit collision shape was in the same dimension as the element.
|
|||
|
/// </summary>
|
|||
|
public bool MatchingDimension;
|
|||
|
}
|
|||
|
}
|