Skip to content

Arguments

Zephyrrus edited this page Feb 16, 2022 · 3 revisions

"id"

  • Used to identify different grids
  • Type: str
Used in:
  • create()
  • add()
  • width()
  • height()
  • contains()
  • findFirst()
  • findAmmount()
  • findCol()
  • findRow()
  • findPos()
  • destroy()

"w"

  • Used in create function to specify grid width
  • Type: int
Used in:
  • create()

"h"

  • Used in create function to specify grid height
  • Type: int
Used in:
  • create()

"x"

  • Used to specify the x position.
  • Type: int
Used in:
  • add()
  • findPos()

"y"

  • Used to specify the y position.
  • Type: int
Used in:
  • add()
  • findPos()

"val"

  • Used to specify the value you wish to find/add
  • Type: any
Used in:
  • add()
  • contains()
  • findFirst()
  • findAmmount()
  • findCol()
  • findRow()

"c"

  • specifies the column (aka x cord)
  • Type: int
Used in:
  • findCol()

"r"

  • specifies the row (aka y cord)
  • Type: int
Used in:
  • findRow()

Clone this wiki locally