LevelScene constructor

LevelScene({
  1. VoidCallback? onStartUp,
  2. VoidCallback? update,
})

Implementation

LevelScene({
  VoidCallback? onStartUp,
  VoidCallback? update,
}){
  _onStartUp = onStartUp;
  levelInfo.add(
    Levels(
      name: 'Level1',
    )
  );
}