blob: 27996cb196d5ccf61938153a6b26caa6041c5823 (
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
|
using System;
namespace XMainClient
{
internal class XJumpEventArgs : XActionArgs
{
public float Gravity { get; set; }
public float Hvelocity { get; set; }
public float Vvelocity { get; set; }
public XJumpEventArgs()
{
this._eDefine = XEventDefine.XEvent_Jump;
}
public override void Recycle()
{
this.Gravity = 0f;
this.Hvelocity = 0f;
this.Vvelocity = 0f;
base.Recycle();
XEventPool<XJumpEventArgs>.Recycle(this);
}
}
}
|