onAction abstract method

void onAction(
  1. CubeAction action
)

Method tha receive action from cube.

Implementation

void onAction(CubeAction action);