mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-11 13:21:10 +01:00
An another touchup.
This commit is contained in:
parent
db18d2b5b2
commit
e4ef99abc4
@ -17,7 +17,7 @@ void SlopePoint::set_moving(const bool val) {
|
||||
moving = val;
|
||||
}
|
||||
|
||||
void SlopePoint::_on_ControlPoint_gui_input(const Variant &event) {
|
||||
void SlopePoint::_on_ControlPoint_gui_input(const Ref<InputEvent> &event) {
|
||||
Ref<InputEventMouseButton> iemb = event;
|
||||
Ref<InputEventMouseMotion> iemm = event;
|
||||
|
||||
|
@ -1,6 +1,9 @@
|
||||
#ifndef SLOPE_POINT_H
|
||||
#define SLOPE_POINT_H
|
||||
|
||||
#include "core/math/vector2.h"
|
||||
#include "core/os/input_event.h"
|
||||
|
||||
#include "scene/gui/control.h"
|
||||
|
||||
class SlopePoint : public Control {
|
||||
@ -13,7 +16,7 @@ public:
|
||||
Variant get_moving();
|
||||
void set_moving(const bool val);
|
||||
|
||||
void _on_ControlPoint_gui_input(const Variant &event);
|
||||
void _on_ControlPoint_gui_input(const Ref<InputEvent> &event);
|
||||
|
||||
SlopePoint();
|
||||
~SlopePoint();
|
||||
|
Loading…
Reference in New Issue
Block a user