Potion

This module is part of the dungeon_gui package, for the graphical representation of the dungeon

class Potion.Potion(potion_value: int, potion_tileset=<Surface(512x256x32 SW)>)

Bases: Collectable

This class describes the representation of the Potion Object

render_collectable(screen, scale_factor)

Rendering of the Potion Object on the screen using a tile set

Parameters

param screen:

Screen where dungeon_gui runs

type screen:

pygame Surface

param scale_factor:

Object scale factor

type scale_factor:

int