Skip to content

Commit

Permalink
Add Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
funnyboy-roks committed Nov 13, 2022
1 parent 222f617 commit dfd6b30
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
![](https://maven.funnyboyroks.com/api/badge/latest/snapshots/com/funnyboyroks/DrawLib?color=40c14a&name=DrawLib&prefix=v)

# DrawLib

(Name Pending to Change)

A simple library to draw some simple shapes using particles in Paper servers

![Screenshot](./img/screenshot.png)

## Usage

See the [maven repo](https://maven.funnyboyroks.com/#/snapshots/com/funnyboyroks/DrawLib/1.0.0-SNAPSHOT) for the latest version and code snippets for your `pom.xml`.

```java
ShapeRenderer renderer = new ShapeRenderer();

renderer.setColor(Color.RED);
renderer.setReceivers(player);
renderer.drawLine(point1, point2);
```

## Current Shapes

- Point
- Line
- Cuboid
- Sphere
Binary file added img/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dfd6b30

Please sign in to comment.