Skip to content

Commit

Permalink
0.1.26
Browse files Browse the repository at this point in the history
  • Loading branch information
tyzoo committed Jan 29, 2023
1 parent 85b9dfa commit d5525f6
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 157 deletions.
23 changes: 1 addition & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,28 +56,7 @@ To use any of the helpers provided by this library:


## Usage

### Reward Tools Decentraland POAP Booth
Spawn a Decentraland POAP booth compatible with [https://reward.tools](https://reward.tools)

```ts
import { RTPOAPBooth, AlertSystem } from "zootools";
const alertSystem = new AlertSystem()
const poapBooth = new RTPOAPBooth(
{
transformArgs: {
position: new Vector3(4,0,4),
},
},
alertSystem,
// "rewardMongoId", //set rewardId here
)
poapBooth.setRewardId("rewardMongoId"); // or here
engine.addEntity(poapBooth);

```

Be sure to add the [poap_assets](https://github.com/tyzoo/tyzoo.github.io/tree/master/assets/poap_assets) folder to the root of your scene
Coming soon

### < Docs coming soon >

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zootools",
"version": "0.1.25",
"version": "0.1.26",
"description": "ZooTools Decentraland SDK Library",
"main": "./dist/index.js",
"scripts": {
Expand Down
132 changes: 0 additions & 132 deletions src/entities/Booth/RTPOAPBooth.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import { Image } from './entities/Image'
import { Model, IModelProps } from './entities/Model'
import { ModelGroup, IModelGroupProps } from './entities/ModelGroup'
import { POAPBooth, IPOAPBoothProps } from './entities/Booth/POAPBooth'
import { RTPOAPBooth } from './entities/Booth/RTPOAPBooth'
import { Sound } from './entities/Sound'
import { WearableBooth, IWearableBoothProps } from './entities/Booth/WearableBooth'
import { ZooTools_Metronome } from './entities/Metronome/Metronome'
Expand Down Expand Up @@ -127,7 +126,6 @@ export {
Model, IModelProps,
ModelGroup, IModelGroupProps,
POAPBooth, IPOAPBoothProps,
RTPOAPBooth,
Sound,
WearableBooth, IWearableBoothProps,
ZooTools_Metronome,
Expand Down

0 comments on commit d5525f6

Please sign in to comment.