mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 11:24:46 +00:00
34 lines
588 B
C#
34 lines
588 B
C#
using System;
|
|
using JNGame.Math;
|
|
using JNGame.Sync.System.View;
|
|
|
|
namespace Game.Input
|
|
{
|
|
|
|
public class IDPlayerMoveVector
|
|
{
|
|
public LFloat X;
|
|
public LFloat Y;
|
|
|
|
public LVector2 ToLVector2()
|
|
{
|
|
return new LVector2(X, Y);
|
|
}
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// DPlayerSystem 的输入类
|
|
/// </summary>
|
|
[Serializable]
|
|
public class IDPlayer : JNInputJson
|
|
{
|
|
|
|
/// <summary>
|
|
/// 移动的向量
|
|
/// </summary>
|
|
public IDPlayerMoveVector? MoveVector;
|
|
|
|
}
|
|
|
|
} |