mta-mono/MultiTheftAuto/EventArgs/ColShapeEventArgs.cs

29 lines
701 B
C#
Raw Normal View History

2015-12-12 10:10:23 +00:00
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;
}
}