Loot

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

class Loot.Loot(loot_value: int, loot_tileset=<Surface(160x160x32 SW)>)

Bases: Collectable

This class describes the representation of the Treasure Object

render_collectable(screen, scale_factor)

Rendering of the Treasure 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