Skip to content

Commit

Permalink
feat: add interface IPlayer
Browse files Browse the repository at this point in the history
  • Loading branch information
thirdmadman committed Mar 12, 2024
1 parent f28455d commit 801ec40
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/app/interfaces/IPlayer.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { IPoint } from './IPoint';

export interface IPlayer {
name: string;
globalPosition: IPoint;
desiredDeltaPosition: IPoint;
mouseGlobalPosition: IPoint;
spriteWidth: number;
spriteHeight: number;
spriteOffset: IPoint;
hitBoxWidth: number;
hitBoxHeight: number;
health: number;
}

0 comments on commit 801ec40

Please sign in to comment.