text: import { Container, Graphics, Sprite } from "pixi.js";
  
  export default window.onload = function () {
    __PIXI_APP = new PIXI.Application(
      {
        width: 800,
        height: 800,
        backgroundColor: 0xAAAAAA
      }
    );
    document.body.appendChild(__PIXI_APP.view);
    }
  
  class Fish extends Sprite {
    constructor() {
      super();
  
      this.name = "fish";
      this.expand();
      this.contract();
    }
  
  contract() {
   let fish = new PIXI.Graphics();
    fish.interactive = true;
    fish.buttonMode = true;
  }
  expand() {
  
  }
  }