Skip to content

Commit

Permalink
refactor: update sprite to inherit from point
Browse files Browse the repository at this point in the history
  • Loading branch information
NuclearRedeye committed Apr 23, 2024
1 parent 012ac03 commit b58ddde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ts/interfaces/sprite.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit b58ddde

Please sign in to comment.