Updated Basic tutorial (markdown)

filoghost 2014-07-26 14:09:19 -07:00
parent cc6f28e46f
commit d67b7a23a5

@ -55,8 +55,8 @@ public void onEnable() {
The API is a class called HolographicDisplaysAPI, all the methods are static. With the method `createHologram(...)` you can create a hologram with some lines. The method returns the hologram just created.
Example:
```java
// Suppose that "where" is a Location object obtained before (e.g. in a command), and "plugin" is your plugin's instance.
Location where = ...
Plugin plugin = ... // Your plugin's instance
Location where = ... // A Location object
Hologram hologram = HolographicDisplaysAPI.createHologram(plugin, where, "Test hologram");
```