chore: Dart Gizmo class cleanup

This commit is contained in:
Nick Fisher
2024-08-27 21:49:04 +08:00
parent 4a0f4e3ac8
commit 8b17916cd9
2 changed files with 56 additions and 46 deletions

View File

@@ -2,15 +2,17 @@ import 'package:thermion_dart/thermion_dart/thermion_viewer.dart';
import 'package:vector_math/vector_math_64.dart';
abstract class AbstractGizmo {
bool get isActive;
bool get isVisible;
bool get isHovered;
void translate(double transX, double transY);
Future translate(double transX, double transY);
void reset();
void attach(ThermionEntity entity);
Future attach(ThermionEntity entity);
void detach();
Future detach();
Stream<Aabb2> get boundingBox;