Work on sprite stuff
This commit is contained in:
14
src/types.ts
14
src/types.ts
@ -10,6 +10,20 @@ export type Asset = {
|
||||
type: 'base64' | 'link'
|
||||
}
|
||||
|
||||
export type Sprite = {
|
||||
id: string;
|
||||
name: string;
|
||||
origin_x: number;
|
||||
origin_y: number;
|
||||
frameSpeed: number;
|
||||
isAnimated: boolean;
|
||||
isLooping: boolean;
|
||||
isPlayableCharacter: boolean;
|
||||
isEnemy: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
}
|
||||
|
||||
export type Tile = {
|
||||
id: string
|
||||
name: string
|
||||
|
Reference in New Issue
Block a user