interface IComment {
    comment: FormattedCommentWithSize;
    content: string;
    draw: ((vpos, showCollision, cursor?) => void);
    flash: boolean;
    height: number;
    image?: null | IRenderer;
    index: number;
    invisible: boolean;
    isHovered: ((cursor?, posX?, posY?) => boolean);
    layer: number;
    loc: "ue" | "naka" | "shita";
    long: number;
    mail: string[];
    owner: boolean;
    posY: number;
    vpos: number;
    width: number;
}

Implemented by

Properties

content: string
draw: ((vpos, showCollision, cursor?) => void)

Type declaration

    • (vpos, showCollision, cursor?): void
    • Parameters

      • vpos: number
      • showCollision: boolean
      • Optional cursor: Position

      Returns void

flash: boolean
height: number
image?: null | IRenderer
index: number
invisible: boolean
isHovered: ((cursor?, posX?, posY?) => boolean)

Type declaration

    • (cursor?, posX?, posY?): boolean
    • Parameters

      • Optional cursor: Position
      • Optional posX: number
      • Optional posY: number

      Returns boolean

layer: number
loc: "ue" | "naka" | "shita"
long: number
mail: string[]
owner: boolean
posY: number
vpos: number
width: number