From b58ddde145afb06afc535170c1f181d0ed6cea7b Mon Sep 17 00:00:00 2001 From: NuclearRedeye Date: Tue, 23 Apr 2024 22:03:28 +0100 Subject: [PATCH] refactor: update sprite to inherit from point --- src/ts/interfaces/sprite.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ts/interfaces/sprite.ts b/src/ts/interfaces/sprite.ts index c5f4662..7f2fd8d 100644 --- a/src/ts/interfaces/sprite.ts +++ b/src/ts/interfaces/sprite.ts @@ -1,6 +1,6 @@ -export interface Sprite { - x: number; - y: number; +import { Point } from "./point"; + +export interface Sprite extends Point { active: boolean; scale: number; textureId: number;