onCreate method
Called once when the application is created and initialized.
Override this method to perform one-time setup tasks, such as:
- Loading initial game assets using resources.
- Setting up game state.
- Configuring initial graphics settings.
This method is called before the main game loop starts.
Implementation
void onCreate() {}