TileRenderer.LoadActionListener

interface TileRenderer.LoadActionListener


Listener for clicks on Clickable objects that have an Action to (re)load the contents of a tile.

Summary

Public methods

abstract @NonNull void

Called when a Clickable that has a LoadAction is clicked.

Public methods

onClick

@NonNull
public abstract void onClick(@NonNull StateBuilders.State nextState)

Called when a Clickable that has a LoadAction is clicked.

Parameters
@NonNull StateBuilders.State nextState

The state that the next tile should be in.