Added some more information to the README

This commit is contained in:
jsrobson10 2019-07-10 12:57:01 +10:00
parent 5d6285435a
commit 7fd421d2b8
1 changed files with 5 additions and 5 deletions

View File

@ -230,8 +230,11 @@ A script to manage this could look something like this:
```java ```java
// Load a new BdfObject instance /*
BdfFileManager bdf = new BdfFileManager("hello.bdf"); Get a new BdfObject instance, it could be existing,
or from another file, BdfArray, or BdfNamedList instance.
*/
BdfObject bdf = new BdfObject();
// Create the HelloWorld class // Create the HelloWorld class
HelloWorld hello = new HelloWorld(); HelloWorld hello = new HelloWorld();
@ -251,7 +254,4 @@ hello.hello();
// Save the classes bdf data // Save the classes bdf data
manager.save(); manager.save();
// Save the bdf from the manager to a file
bdf.saveDatabase();
``` ```