summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/Components/ActionStates/XFreezeEventArgs.cs
blob: c9411faacb931609ec6fd8c88cc704b4f767a133 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using System;
using UnityEngine;
using XUtliPoolLib;

namespace XMainClient
{
	internal class XFreezeEventArgs : XActionArgs
	{
		public XHitData HitData { get; set; }

		public float Duration = 0f;

		public bool Present = false;

		public Vector3 Dir = Vector3.zero;

		public XFreezeEventArgs()
		{
			this._eDefine = XEventDefine.XEvent_Freeze;
		}

		public override void Recycle()
		{
			this.HitData = null;
			this.Duration = 0f;
			this.Dir = Vector3.zero;
			this.Present = false;
			base.Recycle();
			XEventPool<XFreezeEventArgs>.Recycle(this);
		}
	}
}