import { Component } from '../core/Component.js'; export class Sprite extends Component { constructor(color = '#00ff96', width = 30, height = 30, shape = 'circle') { super('Sprite'); this.color = color; this.width = width; this.height = height; this.shape = shape; // 'circle', 'rect', 'slime' this.alpha = 1.0; this.scale = 1.0; // Animation properties this.animationTime = 0; this.morphAmount = 0; // For slime morphing } }