import { Actor, Color, vec } from 'excalibur' import { Resources } from '../resources' export class Player extends Actor { constructor() { super({ pos: vec(150, 150), width: 25, height: 25, color: new Color(255, 100, 100) }) } onInitialize() { this.graphics.use(Resources.Cat.toSprite()) } }