graphics.lineStyle(2, 0x000000, 1);
graphics.lineStyle(2, 0xeeeeee, 1);
graphics.drawRect(
center[0] - rectWidth / 2,
center[1] - startingHeight / 2,
rectWidth,
startingHeight
);
this.app.stage.addChild(graphics);
this.drawCircle([center[0] - rectWidth/2, center[1] - startingHeight/2])
this.drawCircle([center[0] + rectWidth/2, center[1] - startingHeight/2])
this.drawCircle([center[0] + rectWidth/2, center[1] + startingHeight/2])
this.drawCircle([center[0] - rectWidth/2, center[1] + startingHeight/2])
this.drawCircle([center[0] - rectWidth/2, center[1] - 0 * startingHeight/2])
this.drawCircle([center[0] + rectWidth/2, center[1] - 0* startingHeight/2])
this.drawCircle([center[0] + 0* rectWidth/2, center[1] - startingHeight/2])
this.drawCircle([center[0] + 0* rectWidth/2, center[1] + startingHeight/2])
}
public drawCircle(point: Point = [800 * Math.random(), 600 * Math.random()]) {
const graphics = new Pixi.Graphics();
graphics.lineStyle(1, 0x000000, 1);