NotQuiteParadise2

nqp.ui_elements.tailored package

Submodules

nqp.ui_elements.tailored.dev_console module

class DevConsole(game)[source]

Bases: nqp.ui_elements.generic.ui_input_box.UIInputBox

__init__(game)[source]
draw(surface: pygame.Surface, offset=(0, 0))[source]
update(delta_time: float)[source]

nqp.ui_elements.tailored.unit_grid module

nqp.ui_elements.tailored.unit_stats_window module

class UnitStatsWindow(game: Game, pos: pygame.Vector2, unit: Unit, is_active: bool = False)[source]

Bases: nqp.ui_elements.generic.ui_window.UIWindow

A UIWindow designed to show the stats for a given Unit.

__init__(game: Game, pos: pygame.Vector2, unit: Unit, is_active: bool = False)[source]
set_unit(unit: nqp.command.unit.Unit)[source]

Module contents