1
0
mirror of https://github.com/CLfamilaris/VRDOM.git synced 2024-11-27 20:20:49 +01:00
VRDOM/scripts/GameInfo.cs
2023-08-03 21:47:18 +02:00

26 lines
471 B
C#

using Godot;
namespace VRDOM;
public enum TouchEvents
{
TOUCH_DOWN = 0,
TOUCH_UP = 1,
TOUCH_MOVE = 2,
}
public class TouchCommand
{
public int sensorId;
public int touchEvent;
public Vector2 touchPosition;
public Vector2 touchSize;
public TouchCommand(int sensorId, int touchEvent, Vector2 touchPosition, Vector2 touchSize)
{
this.sensorId = sensorId;
this.touchEvent = touchEvent;
this.touchPosition = touchPosition;
this.touchSize = touchSize;
}
}