21 lines
401 B
Dart
21 lines
401 B
Dart
import 'package:thermion_dart/thermion_dart/thermion_viewer.dart';
|
|
import 'package:vector_math/vector_math_64.dart';
|
|
|
|
abstract class AbstractGizmo {
|
|
|
|
bool get isVisible;
|
|
bool get isHovered;
|
|
|
|
Future translate(double transX, double transY);
|
|
|
|
void reset();
|
|
|
|
Future attach(ThermionEntity entity);
|
|
|
|
Future detach();
|
|
|
|
Stream<Aabb2> get boundingBox;
|
|
|
|
void checkHover(double x, double y);
|
|
}
|