RWESharp.Level.RWELevel.RWELevel

class RWESharp.Level.RWELevel.RWELevel(manager, file=None)[source]

Bases: object

__init__(manager, file=None)[source]

Methods

__init__(manager[, file])

add_history(historytype, *args, **kwargs)

export_txt()

get_light(file)

inside(point)

inside_border(point)

level_resized(newrect)

mount_levelparts()

openfile(file)

redo()

save_file()

save_light(file)

turntolingo(file)

turntoproject(string)

undo()

Attributes

level_resized(newrect: QRect)[source]
Parameters:

newrect (QRect)

mount_levelparts()[source]
undo()[source]
redo()[source]
add_history(historytype, *args, **kwargs)[source]
property last_history_element
property shortname
property level_rect: QRect
property extra_tiles: list[int]
inside(point: QPoint) bool[source]
Parameters:

point (QPoint)

Return type:

bool

inside_border(point: QPoint) bool[source]
Parameters:

point (QPoint)

Return type:

bool

property level_width: int
property level_height: int
property level_size: QPoint
property level_size_qsize: QSize
property changed
turntolingo(file)[source]
static turntoproject(string: str) PathDict[source]
Parameters:

string (str)

Return type:

PathDict

openfile(file: str)[source]
Parameters:

file (str)

get_light(file)[source]
save_light(file)[source]
save_file() bool[source]
Return type:

bool

export_txt() None | str[source]
Return type:

None | str