-
Notifications
You must be signed in to change notification settings - Fork 2
Extending Project to Level 5
Englishificational edited this page Apr 22, 2021
·
2 revisions
- Unzip RandomGenerator.zip and place the cs2030 folder into your main directory.
- Move your non-main files into cs2030/simulator
- Add
package cs2030.simulator;
to the top of your non-main files and change your class, constructors and methods to be public. - Add
import cs2030.simulator.YourClassFiles;
to the top of your MainX files in your main directory. - I used
RandomGenerator
directly in MainX, so I created a public wrapper class in cs2030/simulator so MainX can access it.