package usecases;

import api.EditorEntity;

public class UseCase17 {

    // game creator adds power up
    void doUseCase() {
        EditorEntity myEditor = new EntityEditor();
        myEditor.show();
        //waiting for user to enter data and press create button
        //once create button is pressed
        String filename = null; //file name for current game
        myEditor.writeToFile(filename);
        myEditor.close();
    }


}

@@ -12,16 +12,18 @@
 cases;%0A%0A
+//
 import a
@@ -39,16 +39,16 @@
 Entity;%0A
-
 %0Apublic 
@@ -131,16 +131,18 @@
         
+//
 EditorEn
@@ -177,32 +177,34 @@
 itor();%0A        
+//
 myEditor.show();
@@ -317,16 +317,18 @@
         
+//
 String f
@@ -372,32 +372,34 @@
 nt game%0A        
+//
 myEditor.writeTo
@@ -422,16 +422,18 @@
         
+//
 myEditor

comment out lines