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; } /// /// the element that entered or leaved the colshape. /// public Element HitElement; /// /// a boolean referring to whether the hit collision shape was in the same dimension as the element. /// public bool MatchingDimension; } }