JController<T extends JState> constructor

JController<T extends JState>(
  1. T initialState
)

Creates a new JController with the given initial state.

Automatically calls onInit after construction.

Implementation

JController(T initialState) : super(initialState) {
  onInit();
}