Skip to content

Question: how to distinguish between a tsumogiri action and a non-tsumogiri action #188

@Cryolite

Description

@Cryolite

I have a question about the Action class in the Python API.

Its constructor has the following signature:

def __init__(self, action_type: ActionType, tile: int = 0, consume_tiles: list[int] = [])

However, from this signature alone, I cannot tell how to distinguish between a tsumogiri action and a non-tsumogiri (tedashi) action when constructing an Action object.

Could you clarify how these two cases are supposed to be represented?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions