Module drawing

Functions

draw_game (screen, game)
_draw_field (field, settings)
_draw_cell (point, settings)
_draw_rectangle (rectangle_kind, position, size, border, color)


Functions

draw_game (screen, game)

Parameters:

  • screen Rectangle
  • game biohazardcore.ClassifiedGame
_draw_field (field, settings)

Parameters:

_draw_cell (point, settings)

Parameters:

_draw_rectangle (rectangle_kind, position, size, border, color)

Parameters:

  • rectangle_kind "line" or "fill"
  • position lualife.models.Point
  • size lualife.models.Size
  • border int [0, ∞) width (for the line rectangle kind) / radius (for the fill rectangle kind)
  • color Color
generated by LDoc 1.5.0 Last updated 2025-02-02 05:48:05