Updated Basic tutorial (markdown)

filoghost 2015-04-06 12:37:05 +02:00
parent 5040d28fe4
commit 50ee721a35

@ -59,10 +59,10 @@ Example:
Plugin plugin = ... // Your plugin's instance
Location where = ... // A Location object
Hologram hologram = HologramsAPI.createHologram(plugin, where);
hologram.appendTextLine("A hologram line");
TextLine textLine = hologram.appendTextLine("A hologram line");
```
Done! With just two lines of code you created a hologram.
Done! With just two lines of code you created a hologram. The TextLine object represents the line you added: it can be used to retrieve and modify the content of that line. Inserting a line before won't change its content: the TextLine is not related to the position of line inside the hologram.
## 4) Full API documentation
The full API documentation is located [here](http://filoghost.me/HolographicDisplays/), the most relevant classes are ```HologramsAPI``` and the interface ```Hologram```.