Browse Source

Change InputEventScreenTouch from struct to class

George Marques 8 năm trước cách đây
mục cha
commit
452caf3f80
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      core/os/input_event.h

+ 1 - 1
core/os/input_event.h

@@ -377,7 +377,7 @@ public:
 	InputEventJoypadButton();
 };
 
-struct InputEventScreenTouch : public InputEvent {
+class InputEventScreenTouch : public InputEvent {
 	GDCLASS(InputEventScreenTouch, InputEvent)
 	int index;
 	Vector2 pos;